fork/rust

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

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

master
464 B15 linesraw
1error[E0053]: method `bar` has an incompatible return type for trait
2  --> $DIR/deep-match.rs:11:17
3   |
4LL |     fn bar() -> i32 {
5   |                 ^^^
6   |                 |
7   |                 expected `Wrapper<_>`, found `i32`
8   |                 return type in trait
9   |
10   = note: expected struct `Wrapper<_>`
11                found type `i32`
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0053`.