1 // This test checks variations on `<#[attr] 'a, #[oops]>`, where
2 // `#[oops]` is left dangling (that is, it is unattached, with no
3 // formal binding following it).
5 #![feature(rustc_attrs)]
7 struct RefAny<'a, T>(&'a T);
9 impl<#[rustc_dummy] 'a, #[rustc_dummy] T, #[oops]> RefAny<'a, T> {}
10 //~^ ERROR trailing attribute after generic parameter