summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/lint-nonstandard-style-unicode-1.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
commit218caa410aa38c29984be31a5229b9fa717560ee (patch)
treec54bd55eeb6e4c508940a30e94c0032fbd45d677 /tests/ui/lint/lint-nonstandard-style-unicode-1.stderr
parentReleasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz
rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/ui/lint/lint-nonstandard-style-unicode-1.stderr')
-rw-r--r--tests/ui/lint/lint-nonstandard-style-unicode-1.stderr50
1 files changed, 50 insertions, 0 deletions
diff --git a/tests/ui/lint/lint-nonstandard-style-unicode-1.stderr b/tests/ui/lint/lint-nonstandard-style-unicode-1.stderr
new file mode 100644
index 000000000..6c2aa225e
--- /dev/null
+++ b/tests/ui/lint/lint-nonstandard-style-unicode-1.stderr
@@ -0,0 +1,50 @@
+error: type `χa` should have an upper camel case name
+ --> $DIR/lint-nonstandard-style-unicode-1.rs:14:8
+ |
+LL | struct χa;
+ | ^^ help: convert the identifier to upper camel case: `Χa`
+ |
+note: the lint level is defined here
+ --> $DIR/lint-nonstandard-style-unicode-1.rs:3:11
+ |
+LL | #![forbid(non_camel_case_types)]
+ | ^^^^^^^^^^^^^^^^^^^^
+
+error: type `__χa` should have an upper camel case name
+ --> $DIR/lint-nonstandard-style-unicode-1.rs:22:8
+ |
+LL | struct __χa;
+ | ^^^^ help: convert the identifier to upper camel case: `Χa`
+
+error: type `对__否` should have an upper camel case name
+ --> $DIR/lint-nonstandard-style-unicode-1.rs:27:8
+ |
+LL | struct 对__否;
+ | ^^^^^^ help: convert the identifier to upper camel case: `对_否`
+
+error: type `ヒ__χ` should have an upper camel case name
+ --> $DIR/lint-nonstandard-style-unicode-1.rs:30:8
+ |
+LL | struct ヒ__χ;
+ | ^^^^^ help: convert the identifier to upper camel case: `ヒΧ`
+
+error: type `Hello_你好` should have an upper camel case name
+ --> $DIR/lint-nonstandard-style-unicode-1.rs:36:8
+ |
+LL | struct Hello_你好;
+ | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Hello你好`
+
+error: type `Hello_World` should have an upper camel case name
+ --> $DIR/lint-nonstandard-style-unicode-1.rs:39:8
+ |
+LL | struct Hello_World;
+ | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `HelloWorld`
+
+error: type `你_ӟ` should have an upper camel case name
+ --> $DIR/lint-nonstandard-style-unicode-1.rs:42:8
+ |
+LL | struct 你_ӟ;
+ | ^^^^ help: convert the identifier to upper camel case: `你Ӟ`
+
+error: aborting due to 7 previous errors
+