Skip to content

Commit 6095c1c

Browse files
uguid: Fix compilation tests for guid macro
The error text changed in Rust 1.87: rust-lang/rust#136503
1 parent 8feba8c commit 6095c1c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

uguid/tests/ui/guid_hex.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ error[E0080]: evaluation of constant value failed
22
--> tests/ui/guid_hex.rs:12:14
33
|
44
12 | let _g = guid!("g1234567-89ab-cdef-0123-456789abcdef");
5-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'GUID string contains one or more invalid characters', $DIR/tests/ui/guid_hex.rs:12:14
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation panicked: GUID string contains one or more invalid characters
66
|
77
= note: this error originates in the macro `guid` (in Nightly builds, run with -Z macro-backtrace for more info)

uguid/tests/ui/guid_len.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ error[E0080]: evaluation of constant value failed
22
--> tests/ui/guid_len.rs:12:14
33
|
44
12 | let _g = guid!("1234");
5-
| ^^^^^^^^^^^^^ the evaluated program panicked at 'GUID string has wrong length (expected 36 bytes)', $DIR/tests/ui/guid_len.rs:12:14
5+
| ^^^^^^^^^^^^^ evaluation panicked: GUID string has wrong length (expected 36 bytes)
66
|
77
= note: this error originates in the macro `guid` (in Nightly builds, run with -Z macro-backtrace for more info)

uguid/tests/ui/guid_sep.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ error[E0080]: evaluation of constant value failed
22
--> tests/ui/guid_sep.rs:12:14
33
|
44
12 | let _g = guid!("01234567089ab-cdef-0123-456789abcdef");
5-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'GUID string is missing one or more separators (`-`)', $DIR/tests/ui/guid_sep.rs:12:14
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation panicked: GUID string is missing one or more separators (`-`)
66
|
77
= note: this error originates in the macro `guid` (in Nightly builds, run with -Z macro-backtrace for more info)

0 commit comments

Comments
 (0)