2023-04-27 00:53:06 +00:00
|
|
|
error: keyword `use` is written in the wrong case
|
2022-09-13 18:48:29 +00:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:7:1
|
2022-07-29 19:06:13 +00:00
|
|
|
|
|
|
|
|
LL | Use std::ptr::read;
|
|
|
|
| ^^^ help: write it in the correct case (notice the capitalization): `use`
|
|
|
|
|
2023-04-27 00:53:06 +00:00
|
|
|
error: keyword `use` is written in the wrong case
|
2022-09-13 18:48:29 +00:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:8:1
|
2022-07-29 19:06:13 +00:00
|
|
|
|
|
|
|
|
LL | USE std::ptr::write;
|
|
|
|
| ^^^ help: write it in the correct case: `use`
|
|
|
|
|
2023-04-27 00:53:06 +00:00
|
|
|
error: keyword `fn` is written in the wrong case
|
2022-09-13 18:48:29 +00:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:10:7
|
|
|
|
|
|
|
|
|
LL | async Fn _a() {}
|
|
|
|
| ^^ help: write it in the correct case (notice the capitalization): `fn`
|
|
|
|
|
2023-04-27 00:53:06 +00:00
|
|
|
error: keyword `fn` is written in the wrong case
|
2022-09-13 18:48:29 +00:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:13:1
|
|
|
|
|
|
|
|
|
LL | Fn _b() {}
|
|
|
|
| ^^ help: write it in the correct case (notice the capitalization): `fn`
|
|
|
|
|
2023-04-27 00:53:06 +00:00
|
|
|
error: keyword `async` is written in the wrong case
|
2022-09-13 18:48:29 +00:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:16:1
|
|
|
|
|
|
|
|
|
LL | aSYNC fN _c() {}
|
|
|
|
| ^^^^^ help: write it in the correct case: `async`
|
|
|
|
|
2023-04-27 00:53:06 +00:00
|
|
|
error: keyword `fn` is written in the wrong case
|
2022-09-13 18:48:29 +00:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:16:7
|
|
|
|
|
|
|
|
|
LL | aSYNC fN _c() {}
|
|
|
|
| ^^ help: write it in the correct case: `fn`
|
|
|
|
|
2023-04-27 00:53:06 +00:00
|
|
|
error: keyword `async` is written in the wrong case
|
2022-09-13 18:48:29 +00:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:20:1
|
|
|
|
|
|
|
|
|
LL | Async fn _d() {}
|
|
|
|
| ^^^^^ help: write it in the correct case: `async`
|
|
|
|
|
2023-04-27 00:53:06 +00:00
|
|
|
error: keyword `const` is written in the wrong case
|
2022-09-13 18:48:29 +00:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:23:1
|
|
|
|
|
|
|
|
|
LL | CONST UNSAFE FN _e() {}
|
|
|
|
| ^^^^^ help: write it in the correct case: `const`
|
|
|
|
|
2023-04-27 00:53:06 +00:00
|
|
|
error: keyword `unsafe` is written in the wrong case
|
2022-09-13 18:48:29 +00:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:23:7
|
|
|
|
|
|
|
|
|
LL | CONST UNSAFE FN _e() {}
|
|
|
|
| ^^^^^^ help: write it in the correct case: `unsafe`
|
|
|
|
|
2023-04-27 00:53:06 +00:00
|
|
|
error: keyword `fn` is written in the wrong case
|
2022-09-13 18:48:29 +00:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:23:14
|
|
|
|
|
|
|
|
|
LL | CONST UNSAFE FN _e() {}
|
|
|
|
| ^^ help: write it in the correct case: `fn`
|
|
|
|
|
2023-04-27 00:53:06 +00:00
|
|
|
error: keyword `unsafe` is written in the wrong case
|
2022-09-13 18:48:29 +00:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:28:1
|
|
|
|
|
|
|
|
|
LL | unSAFE EXTern fn _f() {}
|
|
|
|
| ^^^^^^ help: write it in the correct case: `unsafe`
|
|
|
|
|
2023-04-27 00:53:06 +00:00
|
|
|
error: keyword `extern` is written in the wrong case
|
2022-09-13 18:48:29 +00:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:28:8
|
|
|
|
|
|
|
|
|
LL | unSAFE EXTern fn _f() {}
|
|
|
|
| ^^^^^^ help: write it in the correct case: `extern`
|
|
|
|
|
2023-04-27 00:53:06 +00:00
|
|
|
error: keyword `extern` is written in the wrong case
|
2022-09-13 18:48:29 +00:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:32:1
|
|
|
|
|
|
|
|
|
LL | EXTERN "C" FN _g() {}
|
|
|
|
| ^^^^^^ help: write it in the correct case: `extern`
|
|
|
|
|
2023-04-27 00:53:06 +00:00
|
|
|
error: keyword `fn` is written in the wrong case
|
2022-09-13 18:48:29 +00:00
|
|
|
--> $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
|
2022-07-29 19:06:13 +00:00
|
|
|
|