Skip to content

Commit dba9b4d

Browse files
committed
Update compile fail output on windows
1 parent 29c2ee3 commit dba9b4d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@ error[E0080]: evaluation of constant value failed
22
--> tests/macro-build-tests/pdcstr-compile-fail.rs:3:13
33
|
44
3 | let _ = netcorehost::pdcstr!("\0");
5-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'invalid NUL value found in string literal', $DIR/tests/macro-build-tests/pdcstr-compile-fail.rs:3:13
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation panicked: invalid NUL value found in string literal
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

99
error[E0080]: evaluation of constant value failed
1010
--> tests/macro-build-tests/pdcstr-compile-fail.rs:4:13
1111
|
1212
4 | let _ = netcorehost::pdcstr!("somerandomteststring\0");
13-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'invalid NUL value found in string literal', $DIR/tests/macro-build-tests/pdcstr-compile-fail.rs:4:13
13+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation panicked: invalid NUL value found in string literal
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

1717
error[E0080]: evaluation of constant value failed
1818
--> tests/macro-build-tests/pdcstr-compile-fail.rs:5:13
1919
|
2020
5 | let _ = netcorehost::pdcstr!("somerandomteststring\0somerandomteststring");
21-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'invalid NUL value found in string literal', $DIR/tests/macro-build-tests/pdcstr-compile-fail.rs:5:13
21+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation panicked: invalid NUL value found in string literal
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)