summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0657.stderr
blob: df76b45a5891f9e5a18b702205c503fb789c672f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0657]: `impl Trait` can only capture lifetimes bound at the fn or impl level
  --> $DIR/E0657.rs:10:31
   |
LL |     -> Box<for<'a> Id<impl Lt<'a>>>
   |                               ^^

error[E0657]: `impl Trait` can only capture lifetimes bound at the fn or impl level
  --> $DIR/E0657.rs:19:35
   |
LL |         -> Box<for<'a> Id<impl Lt<'a>>>
   |                                   ^^

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0657`.