rust/tests/ui/span/multiline-span-simple.stderr

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

17 lines
573 B
Plaintext
Raw Normal View History

error[E0277]: cannot add `()` to `u32`
2018-12-25 15:56:47 +00:00
--> $DIR/multiline-span-simple.rs:13:18
|
2019-03-09 12:03:44 +00:00
LL | foo(1 as u32 +
| ^ no implementation for `u32 + ()`
|
= help: the trait `Add<()>` is not implemented for `u32`
= help: the following other types implement trait `Add<Rhs>`:
2024-06-07 14:54:42 +00:00
`&'a u32` implements `Add<u32>`
`&u32` implements `Add<&u32>`
`u32` implements `Add<&u32>`
`u32` implements `Add`
error: aborting due to 1 previous error
2018-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0277`.