Skip to content

Commit a6be3a8

Browse files
committed
Fix tests
1 parent 86c0f87 commit a6be3a8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/macro-build-tests/pdcstr-compile-fail.windows.stderr

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
error[E0080]: evaluation of constant value failed
1+
error[E0080]: evaluation panicked: invalid NUL value found in string literal
22
--> tests/macro-build-tests/pdcstr-compile-fail.rs:3:13
33
|
44
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
66
|
77
= 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)
88

9-
error[E0080]: evaluation of constant value failed
9+
error[E0080]: evaluation panicked: invalid NUL value found in string literal
1010
--> tests/macro-build-tests/pdcstr-compile-fail.rs:4:13
1111
|
1212
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
1414
|
1515
= 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)
1616

17-
error[E0080]: evaluation of constant value failed
17+
error[E0080]: evaluation panicked: invalid NUL value found in string literal
1818
--> tests/macro-build-tests/pdcstr-compile-fail.rs:5:13
1919
|
2020
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
2222
|
2323
= 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)
2424

0 commit comments

Comments
 (0)