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
533 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>`:
<&'a u32 as Add<u32>>
<&u32 as Add<&u32>>
<u32 as Add<&u32>>
<u32 as 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`.