summaryrefslogtreecommitdiffstats
path: root/tests/ui/attributes/attrs-with-no-formal-in-generics-3.stderr
blob: b9ca00974677b4a835f0654e8e381a639db79c0e (plain)
1
2
3
4
5
6
7
8
error: trailing attribute after generic parameter
  --> $DIR/attrs-with-no-formal-in-generics-3.rs:8:44
   |
LL |     where Q: for <#[allow(unused)] 'a, 'b, #[oops]> Fn(RefIntPair<'a,'b>) -> &'b u32
   |                                            ^^^^^^^ attributes must go before parameters

error: aborting due to previous error