mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 03:03:40 +00:00
30 lines
1.4 KiB
Plaintext
30 lines
1.4 KiB
Plaintext
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
|
|
|