2023-04-27 01:53:06 +01:00
|
|
|
error: keyword `use` is written in the wrong case
|
2022-09-13 22:48:29 +04:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:7:1
|
2022-07-29 23:06:13 +04:00
|
|
|
|
|
|
|
|
|
LL | Use std::ptr::read;
|
2024-07-06 03:07:46 +00:00
|
|
|
| ^^^
|
|
|
|
|
|
|
|
|
|
|
help: write it in the correct case (notice the capitalization difference)
|
|
|
|
|
|
|
2024-07-09 22:30:26 +00:00
|
|
|
LL - Use std::ptr::read;
|
|
|
|
|
LL + use std::ptr::read;
|
|
|
|
|
|
|
2022-07-29 23:06:13 +04:00
|
|
|
|
2023-04-27 01:53:06 +01:00
|
|
|
error: keyword `use` is written in the wrong case
|
2022-09-13 22:48:29 +04:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:8:1
|
2022-07-29 23:06:13 +04:00
|
|
|
|
|
|
|
|
|
LL | USE std::ptr::write;
|
2024-07-06 03:07:46 +00:00
|
|
|
| ^^^
|
|
|
|
|
|
|
|
|
|
|
help: write it in the correct case
|
|
|
|
|
|
|
2024-07-09 22:30:26 +00:00
|
|
|
LL - USE std::ptr::write;
|
|
|
|
|
LL + use std::ptr::write;
|
|
|
|
|
|
|
2022-07-29 23:06:13 +04:00
|
|
|
|
2023-04-27 01:53:06 +01:00
|
|
|
error: keyword `fn` is written in the wrong case
|
2022-09-13 22:48:29 +04:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:10:7
|
|
|
|
|
|
|
|
|
|
|
LL | async Fn _a() {}
|
2024-07-06 03:07:46 +00:00
|
|
|
| ^^
|
|
|
|
|
|
|
|
|
|
|
help: write it in the correct case (notice the capitalization difference)
|
|
|
|
|
|
|
2024-07-09 22:30:26 +00:00
|
|
|
LL - async Fn _a() {}
|
|
|
|
|
LL + async fn _a() {}
|
|
|
|
|
|
|
2022-09-13 22:48:29 +04:00
|
|
|
|
2023-04-27 01:53:06 +01:00
|
|
|
error: keyword `fn` is written in the wrong case
|
2022-09-13 22:48:29 +04:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:13:1
|
|
|
|
|
|
|
|
|
|
|
LL | Fn _b() {}
|
2024-07-06 03:07:46 +00:00
|
|
|
| ^^
|
|
|
|
|
|
|
|
|
|
|
help: write it in the correct case (notice the capitalization difference)
|
|
|
|
|
|
|
2024-07-09 22:30:26 +00:00
|
|
|
LL - Fn _b() {}
|
|
|
|
|
LL + fn _b() {}
|
|
|
|
|
|
|
2022-09-13 22:48:29 +04:00
|
|
|
|
2023-04-27 01:53:06 +01:00
|
|
|
error: keyword `async` is written in the wrong case
|
2022-09-13 22:48:29 +04:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:16:1
|
|
|
|
|
|
|
|
|
|
|
LL | aSYNC fN _c() {}
|
2024-07-06 03:07:46 +00:00
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
|
|
help: write it in the correct case
|
|
|
|
|
|
|
2024-07-09 22:30:26 +00:00
|
|
|
LL - aSYNC fN _c() {}
|
|
|
|
|
LL + async fN _c() {}
|
|
|
|
|
|
|
2022-09-13 22:48:29 +04:00
|
|
|
|
2023-04-27 01:53:06 +01:00
|
|
|
error: keyword `fn` is written in the wrong case
|
2022-09-13 22:48:29 +04:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:16:7
|
|
|
|
|
|
|
|
|
|
|
LL | aSYNC fN _c() {}
|
2024-07-06 03:07:46 +00:00
|
|
|
| ^^
|
|
|
|
|
|
|
|
|
|
|
help: write it in the correct case
|
|
|
|
|
|
|
2024-07-09 22:30:26 +00:00
|
|
|
LL - aSYNC fN _c() {}
|
|
|
|
|
LL + aSYNC fn _c() {}
|
|
|
|
|
|
|
2022-09-13 22:48:29 +04:00
|
|
|
|
2023-04-27 01:53:06 +01:00
|
|
|
error: keyword `async` is written in the wrong case
|
2022-09-13 22:48:29 +04:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:20:1
|
|
|
|
|
|
|
|
|
|
|
LL | Async fn _d() {}
|
2024-07-06 03:07:46 +00:00
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
|
|
help: write it in the correct case
|
|
|
|
|
|
|
2024-07-09 22:30:26 +00:00
|
|
|
LL - Async fn _d() {}
|
|
|
|
|
LL + async fn _d() {}
|
|
|
|
|
|
|
2022-09-13 22:48:29 +04:00
|
|
|
|
2023-04-27 01:53:06 +01:00
|
|
|
error: keyword `const` is written in the wrong case
|
2022-09-13 22:48:29 +04:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:23:1
|
|
|
|
|
|
|
|
|
|
|
LL | CONST UNSAFE FN _e() {}
|
2024-07-06 03:07:46 +00:00
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
|
|
help: write it in the correct case
|
|
|
|
|
|
|
2024-07-09 22:30:26 +00:00
|
|
|
LL - CONST UNSAFE FN _e() {}
|
|
|
|
|
LL + const UNSAFE FN _e() {}
|
|
|
|
|
|
|
2022-09-13 22:48:29 +04:00
|
|
|
|
2023-04-27 01:53:06 +01:00
|
|
|
error: keyword `unsafe` is written in the wrong case
|
2022-09-13 22:48:29 +04:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:23:7
|
|
|
|
|
|
|
|
|
|
|
LL | CONST UNSAFE FN _e() {}
|
2024-07-06 03:07:46 +00:00
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
|
|
|
help: write it in the correct case
|
|
|
|
|
|
|
2024-07-09 22:30:26 +00:00
|
|
|
LL - CONST UNSAFE FN _e() {}
|
|
|
|
|
LL + CONST unsafe FN _e() {}
|
|
|
|
|
|
|
2022-09-13 22:48:29 +04:00
|
|
|
|
2023-04-27 01:53:06 +01:00
|
|
|
error: keyword `fn` is written in the wrong case
|
2022-09-13 22:48:29 +04:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:23:14
|
|
|
|
|
|
|
|
|
|
|
LL | CONST UNSAFE FN _e() {}
|
2024-07-06 03:07:46 +00:00
|
|
|
| ^^
|
|
|
|
|
|
|
|
|
|
|
help: write it in the correct case
|
|
|
|
|
|
|
2024-07-09 22:30:26 +00:00
|
|
|
LL - CONST UNSAFE FN _e() {}
|
|
|
|
|
LL + CONST UNSAFE fn _e() {}
|
|
|
|
|
|
|
2022-09-13 22:48:29 +04:00
|
|
|
|
2023-04-27 01:53:06 +01:00
|
|
|
error: keyword `unsafe` is written in the wrong case
|
2022-09-13 22:48:29 +04:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:28:1
|
|
|
|
|
|
|
2024-10-31 11:39:45 +01:00
|
|
|
LL | unSAFE EXTern "C" fn _f() {}
|
2024-07-06 03:07:46 +00:00
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
|
|
|
help: write it in the correct case
|
|
|
|
|
|
|
2024-07-09 22:30:26 +00:00
|
|
|
LL - unSAFE EXTern "C" fn _f() {}
|
|
|
|
|
LL + unsafe EXTern "C" fn _f() {}
|
|
|
|
|
|
|
2022-09-13 22:48:29 +04:00
|
|
|
|
2023-04-27 01:53:06 +01:00
|
|
|
error: keyword `extern` is written in the wrong case
|
2022-09-13 22:48:29 +04:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:28:8
|
|
|
|
|
|
|
2024-10-31 11:39:45 +01:00
|
|
|
LL | unSAFE EXTern "C" fn _f() {}
|
2024-07-06 03:07:46 +00:00
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
|
|
|
help: write it in the correct case
|
|
|
|
|
|
|
2024-07-09 22:30:26 +00:00
|
|
|
LL - unSAFE EXTern "C" fn _f() {}
|
|
|
|
|
LL + unSAFE extern "C" fn _f() {}
|
|
|
|
|
|
|
2022-09-13 22:48:29 +04:00
|
|
|
|
2023-04-27 01:53:06 +01:00
|
|
|
error: keyword `extern` is written in the wrong case
|
2022-09-13 22:48:29 +04:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:32:1
|
|
|
|
|
|
|
|
|
|
|
LL | EXTERN "C" FN _g() {}
|
2024-07-06 03:07:46 +00:00
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
|
|
|
help: write it in the correct case
|
|
|
|
|
|
|
2024-07-09 22:30:26 +00:00
|
|
|
LL - EXTERN "C" FN _g() {}
|
|
|
|
|
LL + extern "C" FN _g() {}
|
|
|
|
|
|
|
2022-09-13 22:48:29 +04:00
|
|
|
|
2023-04-27 01:53:06 +01:00
|
|
|
error: keyword `fn` is written in the wrong case
|
2022-09-13 22:48:29 +04:00
|
|
|
--> $DIR/item-kw-case-mismatch.rs:32:12
|
|
|
|
|
|
|
|
|
|
|
LL | EXTERN "C" FN _g() {}
|
2024-07-06 03:07:46 +00:00
|
|
|
| ^^
|
|
|
|
|
|
|
|
|
|
|
help: write it in the correct case
|
|
|
|
|
|
|
2024-07-09 22:30:26 +00:00
|
|
|
LL - EXTERN "C" FN _g() {}
|
|
|
|
|
LL + EXTERN "C" fn _g() {}
|
|
|
|
|
|
|
2022-09-13 22:48:29 +04:00
|
|
|
|
|
|
|
|
error: aborting due to 14 previous errors
|
2022-07-29 23:06:13 +04:00
|
|
|
|