blob: 843c1e811d578393ea375cc42338d38a773e7749 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
error[E0277]: the trait bound `u32: std::ops::Add<()>` is not satisfied
--> $DIR/multiline-span-simple.rs:23:9
|
23 | foo(1 as u32 +
| _________^
24 | |
25 | | bar(x,
26 | |
27 | | y),
| |______________^ the trait `std::ops::Add<()>` is not implemented for `u32`
|
= note: no implementation for `u32 + ()`
error: aborting due to previous error
|