summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/item-kw-case-mismatch.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:32 +0000
commit4547b622d8d29df964fa2914213088b148c498fc (patch)
tree9fc6b25f3c3add6b745be9a2400a6e96140046e9 /src/test/ui/parser/item-kw-case-mismatch.stderr
parentReleasing progress-linux version 1.66.0+dfsg1-1~progress7.99u1. (diff)
downloadrustc-4547b622d8d29df964fa2914213088b148c498fc.tar.xz
rustc-4547b622d8d29df964fa2914213088b148c498fc.zip
Merging upstream version 1.67.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/parser/item-kw-case-mismatch.stderr')
-rw-r--r--src/test/ui/parser/item-kw-case-mismatch.stderr86
1 files changed, 86 insertions, 0 deletions
diff --git a/src/test/ui/parser/item-kw-case-mismatch.stderr b/src/test/ui/parser/item-kw-case-mismatch.stderr
new file mode 100644
index 000000000..e66dae825
--- /dev/null
+++ b/src/test/ui/parser/item-kw-case-mismatch.stderr
@@ -0,0 +1,86 @@
+error: keyword `use` is written in a wrong case
+ --> $DIR/item-kw-case-mismatch.rs:7:1
+ |
+LL | Use std::ptr::read;
+ | ^^^ help: write it in the correct case (notice the capitalization): `use`
+
+error: keyword `use` is written in a wrong case
+ --> $DIR/item-kw-case-mismatch.rs:8:1
+ |
+LL | USE std::ptr::write;
+ | ^^^ help: write it in the correct case: `use`
+
+error: keyword `fn` is written in a wrong case
+ --> $DIR/item-kw-case-mismatch.rs:10:7
+ |
+LL | async Fn _a() {}
+ | ^^ help: write it in the correct case (notice the capitalization): `fn`
+
+error: keyword `fn` is written in a wrong case
+ --> $DIR/item-kw-case-mismatch.rs:13:1
+ |
+LL | Fn _b() {}
+ | ^^ help: write it in the correct case (notice the capitalization): `fn`
+
+error: keyword `async` is written in a wrong case
+ --> $DIR/item-kw-case-mismatch.rs:16:1
+ |
+LL | aSYNC fN _c() {}
+ | ^^^^^ help: write it in the correct case: `async`
+
+error: keyword `fn` is written in a wrong case
+ --> $DIR/item-kw-case-mismatch.rs:16:7
+ |
+LL | aSYNC fN _c() {}
+ | ^^ help: write it in the correct case: `fn`
+
+error: keyword `async` is written in a wrong case
+ --> $DIR/item-kw-case-mismatch.rs:20:1
+ |
+LL | Async fn _d() {}
+ | ^^^^^ help: write it in the correct case: `async`
+
+error: keyword `const` is written in a wrong case
+ --> $DIR/item-kw-case-mismatch.rs:23:1
+ |
+LL | CONST UNSAFE FN _e() {}
+ | ^^^^^ help: write it in the correct case: `const`
+
+error: keyword `unsafe` is written in a wrong case
+ --> $DIR/item-kw-case-mismatch.rs:23:7
+ |
+LL | CONST UNSAFE FN _e() {}
+ | ^^^^^^ help: write it in the correct case: `unsafe`
+
+error: keyword `fn` is written in a wrong case
+ --> $DIR/item-kw-case-mismatch.rs:23:14
+ |
+LL | CONST UNSAFE FN _e() {}
+ | ^^ help: write it in the correct case: `fn`
+
+error: keyword `unsafe` is written in a wrong case
+ --> $DIR/item-kw-case-mismatch.rs:28:1
+ |
+LL | unSAFE EXTern fn _f() {}
+ | ^^^^^^ help: write it in the correct case: `unsafe`
+
+error: keyword `extern` is written in a wrong case
+ --> $DIR/item-kw-case-mismatch.rs:28:8
+ |
+LL | unSAFE EXTern fn _f() {}
+ | ^^^^^^ help: write it in the correct case: `extern`
+
+error: keyword `extern` is written in a wrong case
+ --> $DIR/item-kw-case-mismatch.rs:32:1
+ |
+LL | EXTERN "C" FN _g() {}
+ | ^^^^^^ help: write it in the correct case: `extern`
+
+error: keyword `fn` is written in a wrong case
+ --> $DIR/item-kw-case-mismatch.rs:32:12
+ |
+LL | EXTERN "C" FN _g() {}
+ | ^^ help: write it in the correct case: `fn`
+
+error: aborting due to 14 previous errors
+