fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
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 | | 12LL | | |_| true 13LL | | } 14 | |_____^ not a member of trait `Bar` 15 16error[E0282]: type annotations needed 17 --> $DIR/issue-86719.rs:10:10 18 | 19LL | |_| true 20 | ^ 21 | 22help: consider giving this closure parameter an explicit type 23 | 24LL | |_: /* Type */| true 25 | ++++++++++++ 26 27error: aborting due to 3 previous errors 28 29Some errors have detailed explanations: E0282, E0407. 30For more information about an error, try `rustc --explain E0282`.