Skip to content

Commit

Permalink
Update error output of trybuild test
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Braunsperger committed Feb 2, 2024
1 parent 431e551 commit 440b5d8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/macro-build-tests/pdcstr-compile-fail.windows.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ error[E0080]: evaluation of constant value failed
|
= 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)

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

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

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

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

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

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

0 comments on commit 440b5d8

Please sign in to comment.