]> git.lizzy.rs Git - rust.git/blob - src/test/ui/span/multiline-span-simple.stderr
Rollup merge of #105005 - estebank:where-clause-lts, r=compiler-errors
[rust.git] / src / test / ui / span / multiline-span-simple.stderr
1 error[E0277]: cannot add `()` to `u32`
2   --> $DIR/multiline-span-simple.rs:13:18
3    |
4 LL |     foo(1 as u32 +
5    |                  ^ no implementation for `u32 + ()`
6    |
7    = help: the trait `Add<()>` is not implemented for `u32`
8    = help: the following other types implement trait `Add<Rhs>`:
9              <&'a u32 as Add<u32>>
10              <&u32 as Add<&u32>>
11              <u32 as Add<&u32>>
12              <u32 as Add>
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0277`.