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
531 B
Plaintext
Raw Normal View History

error[E0277]: cannot add `()` to `u32`
2018-12-25 09:56:47 -06:00
--> $DIR/multiline-span-simple.rs:13:18
|
2019-03-09 06:03:44 -06: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 previous error
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0277`.