mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
33 lines
758 B
Plaintext
33 lines
758 B
Plaintext
error: prefix `c` is unknown
|
|
--> $DIR/gate.rs:10:5
|
|
|
|
|
LL | c"foo";
|
|
| ^ unknown prefix
|
|
|
|
|
= note: prefixed identifiers and literals are reserved since Rust 2021
|
|
help: consider inserting whitespace here
|
|
|
|
|
LL | c "foo";
|
|
| +
|
|
|
|
error: prefix `c` is unknown
|
|
--> $DIR/gate.rs:13:8
|
|
|
|
|
LL | m!(c"test");
|
|
| ^ unknown prefix
|
|
|
|
|
= note: prefixed identifiers and literals are reserved since Rust 2021
|
|
help: consider inserting whitespace here
|
|
|
|
|
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
|
|
|
|
error: aborting due to 3 previous errors
|
|
|