]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0657.stderr
Suggest `if let`/`let_else` for refutable pat in `let`
[rust.git] / src / test / ui / error-codes / E0657.stderr
1 error[E0657]: `impl Trait` can only capture lifetimes bound at the fn or impl level
2   --> $DIR/E0657.rs:10:31
3    |
4 LL |     -> Box<for<'a> Id<impl Lt<'a>>>
5    |                               ^^
6
7 error[E0657]: `impl Trait` can only capture lifetimes bound at the fn or impl level
8   --> $DIR/E0657.rs:19:35
9    |
10 LL |         -> Box<for<'a> Id<impl Lt<'a>>>
11    |                                   ^^
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0657`.