|
1 | | -error[E0080]: evaluation of constant value failed |
| 1 | +error[E0080]: evaluation panicked: invalid NUL value found in string literal |
2 | 2 | --> tests/macro-build-tests/pdcstr-compile-fail.rs:3:13 |
3 | 3 | | |
4 | 4 | 3 | let _ = netcorehost::pdcstr!("\0"); |
5 | | - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation panicked: invalid NUL value found in string literal |
| 5 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `main::_WIDESTRING_U16_MACRO_UTF16` failed here |
6 | 6 | | |
7 | 7 | = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `netcorehost::pdcstr` (in Nightly builds, run with -Z macro-backtrace for more info) |
8 | 8 |
|
9 | | -error[E0080]: evaluation of constant value failed |
| 9 | +error[E0080]: evaluation panicked: invalid NUL value found in string literal |
10 | 10 | --> tests/macro-build-tests/pdcstr-compile-fail.rs:4:13 |
11 | 11 | | |
12 | 12 | 4 | let _ = netcorehost::pdcstr!("somerandomteststring\0"); |
13 | | - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation panicked: invalid NUL value found in string literal |
| 13 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `main::_WIDESTRING_U16_MACRO_UTF16` failed here |
14 | 14 | | |
15 | 15 | = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `netcorehost::pdcstr` (in Nightly builds, run with -Z macro-backtrace for more info) |
16 | 16 |
|
17 | | -error[E0080]: evaluation of constant value failed |
| 17 | +error[E0080]: evaluation panicked: invalid NUL value found in string literal |
18 | 18 | --> tests/macro-build-tests/pdcstr-compile-fail.rs:5:13 |
19 | 19 | | |
20 | 20 | 5 | let _ = netcorehost::pdcstr!("somerandomteststring\0somerandomteststring"); |
21 | | - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation panicked: invalid NUL value found in string literal |
| 21 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `main::_WIDESTRING_U16_MACRO_UTF16` failed here |
22 | 22 | | |
23 | 23 | = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `netcorehost::pdcstr` (in Nightly builds, run with -Z macro-backtrace for more info) |
24 | 24 |
|
|
0 commit comments