Skip to content

Commit

Permalink
Update trybuild output
Browse files Browse the repository at this point in the history
  • Loading branch information
OpenByteDev committed Jul 13, 2024
1 parent 2e0725f commit 251985e
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions tests/macro-build-tests/pdcstr-compile-fail.windows.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,29 @@ 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 encountered
--> tests/macro-build-tests/pdcstr-compile-fail.rs:3:13
error[E0080]: evaluation of constant value failed
--> tests/macro-build-tests/pdcstr-compile-fail.rs:4:13
|
3 | let _ = netcorehost::pdcstr!("\0");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
4 | let _ = netcorehost::pdcstr!("somerandomteststring\0");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'invalid NUL value found in string literal', $DIR/tests/macro-build-tests/pdcstr-compile-fail.rs:4:13
|
= 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: 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 encountered
--> tests/macro-build-tests/pdcstr-compile-fail.rs:3:13
error[E0080]: evaluation of constant value failed
--> tests/macro-build-tests/pdcstr-compile-fail.rs:5:13
|
3 | let _ = netcorehost::pdcstr!("\0");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
5 | let _ = netcorehost::pdcstr!("somerandomteststring\0somerandomteststring");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'invalid NUL value found in string literal', $DIR/tests/macro-build-tests/pdcstr-compile-fail.rs:5:13
|
= 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: 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)

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

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

Expand Down

0 comments on commit 251985e

Please sign in to comment.