2023-07-04 12:40:48 -05:00
|
|
|
error: prefix `c` is unknown
|
|
|
|
--> $DIR/gate.rs:10:5
|
2023-03-06 01:10:23 -06:00
|
|
|
|
|
|
|
|
LL | c"foo";
|
2023-07-04 12:40:48 -05:00
|
|
|
| ^ unknown prefix
|
2023-03-06 01:10:23 -06:00
|
|
|
|
|
2023-07-04 12:40:48 -05:00
|
|
|
= note: prefixed identifiers and literals are reserved since Rust 2021
|
|
|
|
help: consider inserting whitespace here
|
|
|
|
|
|
|
|
|
LL | c "foo";
|
|
|
|
| +
|
2023-03-06 01:10:23 -06:00
|
|
|
|
2023-07-04 12:40:48 -05:00
|
|
|
error: prefix `c` is unknown
|
|
|
|
--> $DIR/gate.rs:13:8
|
2023-03-06 01:10:23 -06:00
|
|
|
|
|
|
|
|
LL | m!(c"test");
|
2023-07-04 12:40:48 -05:00
|
|
|
| ^ unknown prefix
|
|
|
|
|
|
|
|
|
= note: prefixed identifiers and literals are reserved since Rust 2021
|
|
|
|
help: consider inserting whitespace here
|
2023-03-06 01:10:23 -06:00
|
|
|
|
|
2023-07-04 12:40:48 -05:00
|
|
|
LL | m!(c "test");
|
|
|
|
| +
|
|
|
|
|
|
|
|
error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `"foo"`
|
|
|
|
--> $DIR/gate.rs:10:6
|
|
|
|
|
|
|
|
|
LL | c"foo";
|
|
|
|
| ^^^^^ expected one of 8 possible tokens
|
2023-03-06 01:10:23 -06:00
|
|
|
|
2023-07-04 12:40:48 -05:00
|
|
|
error: aborting due to 3 previous errors
|
2023-03-06 01:10:23 -06:00
|
|
|
|