File tree Expand file tree Collapse file tree 2 files changed +18
-18
lines changed Expand file tree Collapse file tree 2 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -9,15 +9,15 @@ error[E0277]: cannot add `&str` to `{integer}`
9
9
|
10
10
= help: the trait `Add<&str>` is not implemented for `{integer}`
11
11
= 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
21
21
= note: this error originates in the macro `produce_invalid_code` (in Nightly builds, run with -Z macro-backtrace for more info)
22
22
23
23
For more information about this error, try `rustc --explain E0277`.
Original file line number Diff line number Diff line change @@ -9,15 +9,15 @@ error[E0277]: cannot add `&str` to `{integer}`
9
9
|
10
10
= help: the trait `Add<&str>` is not implemented for `{integer}`
11
11
= 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
21
21
= note: this error originates in the macro `produce_invalid_code` (in Nightly builds, run with -Z macro-backtrace for more info)
22
22
23
23
For more information about this error, try `rustc --explain E0277`.
You can’t perform that action at this time.
0 commit comments