Skip to content

Commit c3145a1

Browse files
committed
Update error output of trybuild test
1 parent 70b653a commit c3145a1

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
@@ -6,15 +6,15 @@ 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 used
9+
note: erroneous constant encountered
1010
--> tests/macro-build-tests/pdcstr-compile-fail.rs:3:13
1111
|
1212
3 | let _ = netcorehost::pdcstr!("\0");
1313
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
1414
|
1515
= 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)
1616

17-
note: erroneous constant used
17+
note: erroneous constant encountered
1818
--> tests/macro-build-tests/pdcstr-compile-fail.rs:3:13
1919
|
2020
3 | let _ = netcorehost::pdcstr!("\0");
@@ -30,15 +30,15 @@ error[E0080]: evaluation of constant value failed
3030
|
3131
= 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)
3232

33-
note: erroneous constant used
33+
note: erroneous constant encountered
3434
--> tests/macro-build-tests/pdcstr-compile-fail.rs:4:13
3535
|
3636
4 | let _ = netcorehost::pdcstr!("somerandomteststring\0");
3737
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3838
|
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

41-
note: erroneous constant used
41+
note: erroneous constant encountered
4242
--> tests/macro-build-tests/pdcstr-compile-fail.rs:4:13
4343
|
4444
4 | let _ = netcorehost::pdcstr!("somerandomteststring\0");
@@ -54,15 +54,15 @@ error[E0080]: evaluation of constant value failed
5454
|
5555
= 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)
5656

57-
note: erroneous constant used
57+
note: erroneous constant encountered
5858
--> tests/macro-build-tests/pdcstr-compile-fail.rs:5:13
5959
|
6060
5 | let _ = netcorehost::pdcstr!("somerandomteststring\0somerandomteststring");
6161
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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

65-
note: erroneous constant used
65+
note: erroneous constant encountered
6666
--> tests/macro-build-tests/pdcstr-compile-fail.rs:5:13
6767
|
6868
5 | let _ = netcorehost::pdcstr!("somerandomteststring\0somerandomteststring");

0 commit comments

Comments
 (0)