1 error[E0311]: the parameter type `T` may not live long enough
2 --> $DIR/issue-86483.rs:5:1
4 LL | pub trait IceIce<T>
5 | ^ - help: consider adding an explicit lifetime bound...: `T: 'a`
14 | |_^ ...so that the type `T` will meet its required lifetime bounds...
16 note: ...that is required by this bound
17 --> $DIR/issue-86483.rs:7:16
22 error[E0311]: the parameter type `T` may not live long enough
23 --> $DIR/issue-86483.rs:9:5
25 LL | pub trait IceIce<T>
26 | - help: consider adding an explicit lifetime bound...: `T: 'a`
28 LL | type Ice<'v>: IntoIterator<Item = &'v T>;
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds...
31 note: ...that is required by this bound
32 --> $DIR/issue-86483.rs:7:16
37 error[E0309]: the parameter type `T` may not live long enough
38 --> $DIR/issue-86483.rs:9:32
40 LL | type Ice<'v>: IntoIterator<Item = &'v T>;
41 | ^^^^^^^^^^^^ - help: consider adding a where clause: `where T: 'v`
43 | ...so that the reference type `&'v T` does not outlive the data it points at
45 error: aborting due to 3 previous errors
47 For more information about this error, try `rustc --explain E0309`.