]>
Commit | Line | Data |
---|---|---|
2c00a5a8 | 1 | error[E0657]: `impl Trait` can only capture lifetimes bound at the fn or impl level |
0731742a | 2 | --> $DIR/E0657.rs:10:31 |
2c00a5a8 | 3 | | |
0531ce1d XL |
4 | LL | -> Box<for<'a> Id<impl Lt<'a>>> |
5 | | ^^ | |
2c00a5a8 XL |
6 | |
7 | error[E0657]: `impl Trait` can only capture lifetimes bound at the fn or impl level | |
0731742a | 8 | --> $DIR/E0657.rs:19:35 |
2c00a5a8 | 9 | | |
0531ce1d XL |
10 | LL | -> Box<for<'a> Id<impl Lt<'a>>> |
11 | | ^^ | |
2c00a5a8 XL |
12 | |
13 | error: aborting due to 2 previous errors | |
14 | ||
ba9703b0 | 15 | For more information about this error, try `rustc --explain E0657`. |