1 // ignore-tidy-linelength
4 * We don't infer `T: 'static` outlives relationships by default.
5 * Instead an additional feature gate `infer_static_outlives_requirements`
10 bar: Bar<U> //~ ERROR the parameter type `U` may not live long enough [E0310]
12 struct Bar<T: 'static> {