]> git.proxmox.com Git - rustc.git/blame - tests/ui/impl-trait/issues/issue-86719.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / impl-trait / issues / issue-86719.stderr
CommitLineData
5e7ed085
FG
1error: at least one trait must be specified
2 --> $DIR/issue-86719.rs:7:14
3 |
4LL | type E = impl ;
5 | ^^^^
6
7error[E0407]: method `foo` is not a member of trait `Bar`
8 --> $DIR/issue-86719.rs:8:5
9 |
10LL | / fn foo() -> Self::E {
11LL | | |_| true
12LL | | }
13 | |_____^ not a member of trait `Bar`
14
15error[E0282]: type annotations needed
16 --> $DIR/issue-86719.rs:9:10
17 |
18LL | |_| true
923072b8
FG
19 | ^
20 |
21help: consider giving this closure parameter an explicit type
22 |
6522a427
EL
23LL | |_: /* Type */| true
24 | ++++++++++++
5e7ed085
FG
25
26error: aborting due to 3 previous errors
27
28Some errors have detailed explanations: E0282, E0407.
29For more information about an error, try `rustc --explain E0282`.