1 error[E0310]: the parameter type `U` may not live long enough
2 --> $DIR/feature-gate-infer_static_outlives_requirements.rs:5:10
5 | ^^^^^^ ...so that the type `U` will meet its required lifetime bounds...
7 note: ...that is required by this bound
8 --> $DIR/feature-gate-infer_static_outlives_requirements.rs:7:15
10 LL | struct Bar<T: 'static> {
12 help: consider adding an explicit lifetime bound...
14 LL | struct Foo<U: 'static> {
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0310`.