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 RefIntPair<'a, 'b>(&'a u32, &'b u32);
9 impl<#[rustc_dummy] 'a, 'b, #[oops]> RefIntPair<'a, 'b> {
10 //~^ ERROR trailing attribute after generic parameter