Skip to content

Commit b115a45

Browse files
committed
Update test snapshots
1 parent 67a96b4 commit b115a45

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

tests/other-tests/tests/and_check/fail/invalid_macro_output.err.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ error[E0277]: cannot add `&str` to `{integer}`
99
|
1010
= help: the trait `Add<&str>` is not implemented for `{integer}`
1111
= help: the following other types implement trait `Add<Rhs>`:
12-
<isize as Add>
13-
<isize as Add<&isize>>
14-
<i8 as Add>
15-
<i8 as Add<&i8>>
16-
<i16 as Add>
17-
<i16 as Add<&i16>>
18-
<i32 as Add>
19-
<i32 as Add<&i32>>
20-
and 48 others
12+
`&'a f128` implements `Add<f128>`
13+
`&'a f16` implements `Add<f16>`
14+
`&'a f32` implements `Add<f32>`
15+
`&'a f64` implements `Add<f64>`
16+
`&'a i128` implements `Add<i128>`
17+
`&'a i16` implements `Add<i16>`
18+
`&'a i32` implements `Add<i32>`
19+
`&'a i64` implements `Add<i64>`
20+
and 56 others
2121
= note: this error originates in the macro `produce_invalid_code` (in Nightly builds, run with -Z macro-backtrace for more info)
2222

2323
For more information about this error, try `rustc --explain E0277`.

tests/other-tests/tests/check/fail/invalid_macro_output.err.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ error[E0277]: cannot add `&str` to `{integer}`
99
|
1010
= help: the trait `Add<&str>` is not implemented for `{integer}`
1111
= help: the following other types implement trait `Add<Rhs>`:
12-
<isize as Add>
13-
<isize as Add<&isize>>
14-
<i8 as Add>
15-
<i8 as Add<&i8>>
16-
<i16 as Add>
17-
<i16 as Add<&i16>>
18-
<i32 as Add>
19-
<i32 as Add<&i32>>
20-
and 48 others
12+
`&'a f128` implements `Add<f128>`
13+
`&'a f16` implements `Add<f16>`
14+
`&'a f32` implements `Add<f32>`
15+
`&'a f64` implements `Add<f64>`
16+
`&'a i128` implements `Add<i128>`
17+
`&'a i16` implements `Add<i16>`
18+
`&'a i32` implements `Add<i32>`
19+
`&'a i64` implements `Add<i64>`
20+
and 56 others
2121
= note: this error originates in the macro `produce_invalid_code` (in Nightly builds, run with -Z macro-backtrace for more info)
2222

2323
For more information about this error, try `rustc --explain E0277`.

0 commit comments

Comments
 (0)