rust/tests/ui/rfcs/rfc-3348-c-string-literals/gate.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
758 B
Plaintext
Raw Normal View History

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