summary refs log tree commit diff
path: root/src/test/ui/span/multiline-span-simple.stderr
blob: 85c11c05b9f9004c55a54d303433e11de586340b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
error[E0277]: the trait bound `u32: std::ops::Add<()>` is not satisfied
  --> $DIR/multiline-span-simple.rs:23:9
   |
23 |       foo(1 as u32 +
   |  _________^ starting here...
24 | |
25 | |         bar(x,
26 | |
27 | |             y),
   | |______________^ ...ending here: the trait `std::ops::Add<()>` is not implemented for `u32`
   |
   = help: the following implementations were found:
             <u32 as std::ops::Add>
             <&'a u32 as std::ops::Add<u32>>
             <u32 as std::ops::Add<&'a u32>>
             <&'b u32 as std::ops::Add<&'a u32>>

error: aborting due to previous error