Skip to content

Commit f838567

Browse files
committed
Adjust TryBuild messages for rust-lang/rust#82069
1 parent 6e0f2ce commit f838567

13 files changed

+13
-13
lines changed

tests/ui/bitfield/architecture/field_uses_whole_bit_field_128.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ error[E0080]: evaluation of constant value failed
44
5 | #[bitfield::bitfield(size)]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `0_usize - 1_usize`, which would overflow
66
|
7-
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
7+
= note: this error originates in the attribute macro `bitfield::bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)

tests/ui/bitfield/architecture/field_uses_whole_bit_field_16.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ error[E0080]: evaluation of constant value failed
44
5 | #[bitfield::bitfield(size)]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `0_usize - 1_usize`, which would overflow
66
|
7-
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
7+
= note: this error originates in the attribute macro `bitfield::bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)

tests/ui/bitfield/architecture/field_uses_whole_bit_field_32.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ error[E0080]: evaluation of constant value failed
44
5 | #[bitfield::bitfield(size)]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `0_usize - 1_usize`, which would overflow
66
|
7-
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
7+
= note: this error originates in the attribute macro `bitfield::bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)

tests/ui/bitfield/architecture/field_uses_whole_bit_field_64.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ error[E0080]: evaluation of constant value failed
44
5 | #[bitfield::bitfield(size)]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `0_usize - 1_usize`, which would overflow
66
|
7-
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
7+
= note: this error originates in the attribute macro `bitfield::bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)

tests/ui/bitfield/architecture/field_uses_whole_bit_field_8.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ error[E0080]: evaluation of constant value failed
44
5 | #[bitfield::bitfield(size)]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `0_usize - 1_usize`, which would overflow
66
|
7-
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
7+
= note: this error originates in the attribute macro `bitfield::bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)

tests/ui/bitfield/field_out_of_bounds.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ error[E0080]: evaluation of constant value failed
44
5 | #[bitfield::bitfield(size)]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `0_usize - 1_usize`, which would overflow
66
|
7-
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
7+
= note: this error originates in the attribute macro `bitfield::bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)

tests/ui/bitfield/field_out_of_bounds_primitive.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ error[E0080]: evaluation of constant value failed
44
5 | #[bitfield::bitfield(size)]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `0_usize - 1_usize`, which would overflow
66
|
7-
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
7+
= note: this error originates in the attribute macro `bitfield::bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)

tests/ui/bitfield/field_too_small.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ error[E0080]: evaluation of constant value failed
44
5 | #[bitfield::bitfield(16)]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `0_usize - 1_usize`, which would overflow
66
|
7-
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
7+
= note: this error originates in the attribute macro `bitfield::bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)

tests/ui/bitfield/flags_not_repr_u8.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ error[E0080]: evaluation of constant value failed
44
5 | #[bitfield::bitfield(16)]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `0_usize - 1_usize`, which would overflow
66
|
7-
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
7+
= note: this error originates in the attribute macro `bitfield::bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)

tests/ui/bitfield/flags_out_of_bounds.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ error[E0080]: evaluation of constant value failed
44
5 | #[bitfield::bitfield(8)] // Can only store flags between 0 - 7.
55
| ^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `0_usize - 1_usize`, which would overflow
66
|
7-
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
7+
= note: this error originates in the attribute macro `bitfield::bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)

tests/ui/bitfield/flags_overlap_field.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ error[E0080]: evaluation of constant value failed
44
5 | #[bitfield::bitfield(8)]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `0_usize - 1_usize`, which would overflow
66
|
7-
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
7+
= note: this error originates in the attribute macro `bitfield::bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)

tests/ui/bitfield/flags_overlap_flags.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ error[E0080]: evaluation of constant value failed
44
5 | #[bitfield::bitfield(8)]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `0_usize - 1_usize`, which would overflow
66
|
7-
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
7+
= note: this error originates in the attribute macro `bitfield::bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)

tests/ui/bitfield/signed_field_can_never_be_negative.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ error[E0080]: evaluation of constant value failed
44
5 | #[bitfield::bitfield(16)]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `0_usize - 1_usize`, which would overflow
66
|
7-
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
7+
= note: this error originates in the attribute macro `bitfield::bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)

0 commit comments

Comments
 (0)