1 error[E0310]: the associated type `<T as Iter>::Item` may not live long enough
2 --> $DIR/regions-close-associated-type-into-object.rs:15:5
7 = help: consider adding an explicit lifetime bound `<T as Iter>::Item: 'static`...
8 = note: ...so that the type `<T as Iter>::Item` will meet its required lifetime bounds
10 error[E0310]: the associated type `<T as Iter>::Item` may not live long enough
11 --> $DIR/regions-close-associated-type-into-object.rs:22:5
16 = help: consider adding an explicit lifetime bound `<T as Iter>::Item: 'static`...
17 = note: ...so that the type `<T as Iter>::Item` will meet its required lifetime bounds
19 error[E0309]: the associated type `<T as Iter>::Item` may not live long enough
20 --> $DIR/regions-close-associated-type-into-object.rs:28:5
25 = help: consider adding an explicit lifetime bound `<T as Iter>::Item: 'a`...
26 = note: ...so that the type `<T as Iter>::Item` will meet its required lifetime bounds
28 error[E0309]: the associated type `<T as Iter>::Item` may not live long enough
29 --> $DIR/regions-close-associated-type-into-object.rs:35:5
34 = help: consider adding an explicit lifetime bound `<T as Iter>::Item: 'a`...
35 = note: ...so that the type `<T as Iter>::Item` will meet its required lifetime bounds
37 error: aborting due to 4 previous errors
39 Some errors have detailed explanations: E0309, E0310.
40 For more information about an error, try `rustc --explain E0309`.