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`
16 = note: ...so that the type `T` will meet its required lifetime bounds...
17 note: ...that is required by this bound
18 --> $DIR/issue-86483.rs:7:16
23 error[E0311]: the parameter type `T` may not live long enough
24 --> $DIR/issue-86483.rs:9:5
26 LL | pub trait IceIce<T>
27 | - help: consider adding an explicit lifetime bound...: `T: 'a`
29 LL | type Ice<'v>: IntoIterator<Item = &'v T>;
30 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds...
32 note: ...that is required by this bound
33 --> $DIR/issue-86483.rs:7:16
38 error[E0309]: the parameter type `T` may not live long enough
39 --> $DIR/issue-86483.rs:9:32
41 LL | type Ice<'v>: IntoIterator<Item = &'v T>;
42 | ^^^^^^^^^^^^ - help: consider adding a where clause: `where T: 'v`
44 | ...so that the reference type `&'v T` does not outlive the data it points at
46 error: aborting due to 3 previous errors
48 For more information about this error, try `rustc --explain E0309`.