Skip to content

Commit 6a47d9b

Browse files
committed
Update trybuild output
1 parent 2971cab commit 6a47d9b

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

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

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,29 @@ error[E0080]: evaluation of constant value failed
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-
note: erroneous constant encountered
10-
--> tests/macro-build-tests/pdcstr-compile-fail.rs:3:13
9+
error[E0080]: evaluation of constant value failed
10+
--> tests/macro-build-tests/pdcstr-compile-fail.rs:4:13
1111
|
12-
3 | let _ = netcorehost::pdcstr!("\0");
13-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
12+
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
1414
|
15-
= note: this note originates in the macro `$crate::pdcstring::windows::widestring::u16cstr` which comes from the expansion of the macro `netcorehost::pdcstr` (in Nightly builds, run with -Z macro-backtrace for more info)
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)
1616

17-
note: erroneous constant encountered
18-
--> tests/macro-build-tests/pdcstr-compile-fail.rs:3:13
17+
error[E0080]: evaluation of constant value failed
18+
--> tests/macro-build-tests/pdcstr-compile-fail.rs:5:13
1919
|
20-
3 | let _ = netcorehost::pdcstr!("\0");
21-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
20+
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
2222
|
23-
= note: this note originates in the macro `$crate::pdcstring::windows::widestring::u16cstr` which comes from the expansion of the macro `netcorehost::pdcstr` (in Nightly builds, run with -Z macro-backtrace for more info)
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)
2424

25-
error[E0080]: evaluation of constant value failed
26-
--> tests/macro-build-tests/pdcstr-compile-fail.rs:4:13
25+
note: erroneous constant encountered
26+
--> tests/macro-build-tests/pdcstr-compile-fail.rs:5:13
2727
|
28-
4 | let _ = netcorehost::pdcstr!("somerandomteststring\0");
29-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'invalid NUL value found in string literal', $DIR/tests/macro-build-tests/pdcstr-compile-fail.rs:4:13
28+
5 | let _ = netcorehost::pdcstr!("somerandomteststring\0somerandomteststring");
29+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3030
|
31-
= 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)
31+
= note: this note originates in the macro `$crate::pdcstring::windows::widestring::u16cstr` which comes from the expansion of the macro `netcorehost::pdcstr` (in Nightly builds, run with -Z macro-backtrace for more info)
3232

3333
note: erroneous constant encountered
3434
--> tests/macro-build-tests/pdcstr-compile-fail.rs:4:13
@@ -39,26 +39,26 @@ note: erroneous constant encountered
3939
= note: this note originates in the macro `$crate::pdcstring::windows::widestring::u16cstr` which comes from the expansion of the macro `netcorehost::pdcstr` (in Nightly builds, run with -Z macro-backtrace for more info)
4040

4141
note: erroneous constant encountered
42-
--> tests/macro-build-tests/pdcstr-compile-fail.rs:4:13
42+
--> tests/macro-build-tests/pdcstr-compile-fail.rs:3:13
4343
|
44-
4 | let _ = netcorehost::pdcstr!("somerandomteststring\0");
45-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44+
3 | let _ = netcorehost::pdcstr!("\0");
45+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
4646
|
4747
= note: this note originates in the macro `$crate::pdcstring::windows::widestring::u16cstr` which comes from the expansion of the macro `netcorehost::pdcstr` (in Nightly builds, run with -Z macro-backtrace for more info)
4848

49-
error[E0080]: evaluation of constant value failed
50-
--> tests/macro-build-tests/pdcstr-compile-fail.rs:5:13
49+
note: erroneous constant encountered
50+
--> tests/macro-build-tests/pdcstr-compile-fail.rs:3:13
5151
|
52-
5 | let _ = netcorehost::pdcstr!("somerandomteststring\0somerandomteststring");
53-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'invalid NUL value found in string literal', $DIR/tests/macro-build-tests/pdcstr-compile-fail.rs:5:13
52+
3 | let _ = netcorehost::pdcstr!("\0");
53+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
5454
|
55-
= 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)
55+
= note: this note originates in the macro `$crate::pdcstring::windows::widestring::u16cstr` which comes from the expansion of the macro `netcorehost::pdcstr` (in Nightly builds, run with -Z macro-backtrace for more info)
5656

5757
note: erroneous constant encountered
58-
--> tests/macro-build-tests/pdcstr-compile-fail.rs:5:13
58+
--> tests/macro-build-tests/pdcstr-compile-fail.rs:4:13
5959
|
60-
5 | let _ = netcorehost::pdcstr!("somerandomteststring\0somerandomteststring");
61-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
60+
4 | let _ = netcorehost::pdcstr!("somerandomteststring\0");
61+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6262
|
6363
= note: this note originates in the macro `$crate::pdcstring::windows::widestring::u16cstr` which comes from the expansion of the macro `netcorehost::pdcstr` (in Nightly builds, run with -Z macro-backtrace for more info)
6464

0 commit comments

Comments
 (0)