]> git.lizzy.rs Git - rust.git/blob - src/test/ui/span/multiline-span-simple.stderr
Auto merge of #40584 - nrc:rls-submod, r=alexcrichton
[rust.git] / src / test / ui / span / multiline-span-simple.stderr
1 error[E0277]: the trait bound `u32: std::ops::Add<()>` is not satisfied
2   --> $DIR/multiline-span-simple.rs:23:9
3    |
4 23 |       foo(1 as u32 +
5    |  _________^ starting here...
6 24 | |
7 25 | |         bar(x,
8 26 | |
9 27 | |             y),
10    | |______________^ ...ending here: the trait `std::ops::Add<()>` is not implemented for `u32`
11    |
12    = note: no implementation for `u32 + ()`
13
14 error: aborting due to previous error
15