Skip to content

uguid: Fix compilation tests for guid macro #287

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion uguid/tests/ui/guid_hex.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ error[E0080]: evaluation of constant value failed
--> tests/ui/guid_hex.rs:12:14
|
12 | let _g = guid!("g1234567-89ab-cdef-0123-456789abcdef");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'GUID string contains one or more invalid characters', $DIR/tests/ui/guid_hex.rs:12:14
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation panicked: GUID string contains one or more invalid characters
|
= note: this error originates in the macro `guid` (in Nightly builds, run with -Z macro-backtrace for more info)
2 changes: 1 addition & 1 deletion uguid/tests/ui/guid_len.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ error[E0080]: evaluation of constant value failed
--> tests/ui/guid_len.rs:12:14
|
12 | let _g = guid!("1234");
| ^^^^^^^^^^^^^ the evaluated program panicked at 'GUID string has wrong length (expected 36 bytes)', $DIR/tests/ui/guid_len.rs:12:14
| ^^^^^^^^^^^^^ evaluation panicked: GUID string has wrong length (expected 36 bytes)
|
= note: this error originates in the macro `guid` (in Nightly builds, run with -Z macro-backtrace for more info)
2 changes: 1 addition & 1 deletion uguid/tests/ui/guid_sep.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ error[E0080]: evaluation of constant value failed
--> tests/ui/guid_sep.rs:12:14
|
12 | let _g = guid!("01234567089ab-cdef-0123-456789abcdef");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'GUID string is missing one or more separators (`-`)', $DIR/tests/ui/guid_sep.rs:12:14
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation panicked: GUID string is missing one or more separators (`-`)
|
= note: this error originates in the macro `guid` (in Nightly builds, run with -Z macro-backtrace for more info)
Loading