summaryrefslogtreecommitdiffstats
path: root/src/test/ui/rust-2021/reserved-prefixes-via-macro-2.stderr
blob: ae7c5d60cbacc3cc1ac1f59f948eadfe7b542128 (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
error: prefix `hey` is unknown
  --> $DIR/reserved-prefixes-via-macro-2.rs:15:5
   |
LL |     m2021::number_of_tokens_in_a_prefixed_integer_literal!();
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unknown prefix
   |
   = note: prefixed identifiers and literals are reserved since Rust 2021
   = note: this error originates in the macro `m2021::number_of_tokens_in_a_prefixed_integer_literal` (in Nightly builds, run with -Z macro-backtrace for more info)

error: prefix `hey` is unknown
  --> $DIR/reserved-prefixes-via-macro-2.rs:17:5
   |
LL |     m2021::number_of_tokens_in_a_prefixed_char_literal!();
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unknown prefix
   |
   = note: prefixed identifiers and literals are reserved since Rust 2021
   = note: this error originates in the macro `m2021::number_of_tokens_in_a_prefixed_char_literal` (in Nightly builds, run with -Z macro-backtrace for more info)

error: prefix `hey` is unknown
  --> $DIR/reserved-prefixes-via-macro-2.rs:19:5
   |
LL |     m2021::number_of_tokens_in_a_prefixed_string_literal!();
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unknown prefix
   |
   = note: prefixed identifiers and literals are reserved since Rust 2021
   = note: this error originates in the macro `m2021::number_of_tokens_in_a_prefixed_string_literal` (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to 3 previous errors