about summary refs log tree commit diff
path: root/tests/ui/rust-2024/reserved-guarded-strings-via-macro-2.stderr
blob: 1074c8a682bfb1a1b9765c05bb92d7968d1065fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
error: invalid string literal
  --> $DIR/reserved-guarded-strings-via-macro-2.rs:14:5
   |
LL |     m2024::number_of_tokens_in_a_guarded_string_literal!();
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: unprefixed guarded string literals are reserved for future use since Rust 2024
   = note: this error originates in the macro `m2024::number_of_tokens_in_a_guarded_string_literal` (in Nightly builds, run with -Z macro-backtrace for more info)

error: invalid string literal
  --> $DIR/reserved-guarded-strings-via-macro-2.rs:16:5
   |
LL |     m2024::number_of_tokens_in_a_guarded_unterminated_string_literal!();
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: unprefixed guarded string literals are reserved for future use since Rust 2024
   = note: this error originates in the macro `m2024::number_of_tokens_in_a_guarded_unterminated_string_literal` (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to 2 previous errors