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 struct RefIntPair<'a, 'b>(&'a u32, &'b u32);
8 where Q: for <#[allow(unused)] 'a, 'b, #[oops]> Fn(RefIntPair<'a,'b>) -> &'b u32
9 //~^ ERROR trailing attribute after generic parameter