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.3 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>`:
`&f128` implements `Add<f128>`
`&f128` implements `Add`
`&f16` implements `Add<f16>`
`&f16` implements `Add`
`&f32` implements `Add<f32>`
`&f32` implements `Add`
`&f64` implements `Add<f64>`
`&f64` implements `Add`
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>`:
`&f128` implements `Add<f128>`
`&f128` implements `Add`
`&f16` implements `Add<f16>`
`&f16` implements `Add`
`&f32` implements `Add<f32>`
`&f32` implements `Add`
`&f64` implements `Add<f64>`
`&f64` implements `Add`
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`.