summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfcs/rfc-3348-c-string-literals/gate.stderr
blob: 8de36ca4a6edf38f40899a71cd35e1ed60de1e31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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