fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
531 B16 linesraw
1error[E0277]: cannot add `()` to `u32`
2  --> $DIR/multiline-span-simple.rs:13:18
3   |
4LL |     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             <u32 as Add>
10             <u32 as Add<&u32>>
11             <&'a u32 as Add<u32>>
12             <&u32 as Add<&u32>>
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0277`.