os-rust/tests/ui/issues/issue-11771.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
1.4 KiB
Text
Raw Normal View History

2018-07-15 14:11:54 -07:00
error[E0277]: cannot add `()` to `{integer}`
2018-12-25 08:56:47 -07:00
--> $DIR/issue-11771.rs:3:7
2018-07-15 14:11:54 -07:00
|
LL | 1 +
| ^ no implementation for `{integer} + ()`
|
= help: the trait `Add<()>` is not implemented for `{integer}`
= help: the following other types implement trait `Add<Rhs>`:
2024-06-07 14:54:42 +00:00
`&'a f128` implements `Add<f128>`
`&'a f16` implements `Add<f16>`
`&'a f32` implements `Add<f32>`
`&'a f64` implements `Add<f64>`
`&'a i128` implements `Add<i128>`
`&'a i16` implements `Add<i16>`
`&'a i32` implements `Add<i32>`
`&'a i64` implements `Add<i64>`
and 56 others
2018-07-15 14:11:54 -07:00
error[E0277]: cannot add `()` to `{integer}`
2018-12-25 08:56:47 -07:00
--> $DIR/issue-11771.rs:8:7
2018-07-15 14:11:54 -07:00
|
LL | 1 +
| ^ no implementation for `{integer} + ()`
|
= help: the trait `Add<()>` is not implemented for `{integer}`
= help: the following other types implement trait `Add<Rhs>`:
2024-06-07 14:54:42 +00:00
`&'a f128` implements `Add<f128>`
`&'a f16` implements `Add<f16>`
`&'a f32` implements `Add<f32>`
`&'a f64` implements `Add<f64>`
`&'a i128` implements `Add<i128>`
`&'a i16` implements `Add<i16>`
`&'a i32` implements `Add<i32>`
`&'a i64` implements `Add<i64>`
and 56 others
2018-07-15 14:11:54 -07:00
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0277`.