summary refs log tree commit diff
path: root/tests/ui/error-codes/E0657.stderr
blob: c539007cdcf19eabedf4209ee423106d27d1ae39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
error[E0657]: `impl Trait` cannot capture higher-ranked lifetime from `dyn` type
  --> $DIR/E0657.rs:10:31
   |
LL |     -> Box<for<'a> Id<impl Lt<'a>>>
   |                               ^^
   |
note: lifetime declared here
  --> $DIR/E0657.rs:10:16
   |
LL |     -> Box<for<'a> Id<impl Lt<'a>>>
   |                ^^

error[E0657]: `impl Trait` cannot capture higher-ranked lifetime from `dyn` type
  --> $DIR/E0657.rs:19:35
   |
LL |         -> Box<for<'a> Id<impl Lt<'a>>>
   |                                   ^^
   |
note: lifetime declared here
  --> $DIR/E0657.rs:19:20
   |
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`.