]> git.proxmox.com Git - rustc.git/blob - tests/ui/impl-trait/in-trait/deep-match.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / impl-trait / in-trait / deep-match.stderr
1 error[E0053]: method `bar` has an incompatible return type for trait
2 --> $DIR/deep-match.rs:11:17
3 |
4 LL | fn bar() -> i32 { 0 }
5 | ^^^
6 | |
7 | expected struct `Wrapper`, found `i32`
8 | return type in trait
9 |
10 = note: expected struct `Wrapper<_>`
11 found type `i32`
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0053`.