/* * We don't infer `T: 'static` outlives relationships. */ struct Foo { bar: Bar //~ ERROR the parameter type `U` may not live long enough [E0310] } struct Bar { x: T, } fn main() {}