rust/tests/ui/rust-2021/reserved-prefixes-via-macro-2.stderr

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

30 lines
1.4 KiB
Plaintext
Raw Normal View History

error: prefix `hey` is unknown
--> $DIR/reserved-prefixes-via-macro-2.rs:15:5
|
LL | m2021::number_of_tokens_in_a_prefixed_integer_literal!();
2021-10-14 18:28:28 +00:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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!();
2021-10-14 18:28:28 +00:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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!();
2021-10-14 18:28:28 +00:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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