blob: e33d57d642b32de6d41fefe26f822df60a917bb0 [file] [log] [blame]
#![feature(dyn_trait)]
#![feature(rustc_attrs)]
trait Trait<'x, T> where T: 'x {
}
#[rustc_outlives]
struct Foo<'a, A> //~ ERROR rustc_outlives
{
foo: Box<dyn Trait<'a, A>>
}
fn main() {}