]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rust-2021/reserved-prefixes-via-macro-2.stderr
Auto merge of #98051 - davidtwco:split-dwarf-stabilization, r=wesleywiser
[rust.git] / src / test / ui / rust-2021 / reserved-prefixes-via-macro-2.stderr
1 error: prefix `hey` is unknown
2   --> $DIR/reserved-prefixes-via-macro-2.rs:15:5
3    |
4 LL |     m2021::number_of_tokens_in_a_prefixed_integer_literal!();
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unknown prefix
6    |
7    = note: prefixed identifiers and literals are reserved since Rust 2021
8    = 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)
9
10 error: prefix `hey` is unknown
11   --> $DIR/reserved-prefixes-via-macro-2.rs:17:5
12    |
13 LL |     m2021::number_of_tokens_in_a_prefixed_char_literal!();
14    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unknown prefix
15    |
16    = note: prefixed identifiers and literals are reserved since Rust 2021
17    = 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)
18
19 error: prefix `hey` is unknown
20   --> $DIR/reserved-prefixes-via-macro-2.rs:19:5
21    |
22 LL |     m2021::number_of_tokens_in_a_prefixed_string_literal!();
23    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unknown prefix
24    |
25    = note: prefixed identifiers and literals are reserved since Rust 2021
26    = 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)
27
28 error: aborting due to 3 previous errors
29