summaryrefslogtreecommitdiffstats
path: root/tests/ui/attributes/attrs-with-no-formal-in-generics-1.stderr
blob: 5b4f5222a2b1404129d01d03eb521ad4221fdc41 (plain)
1
2
3
4
5
6
7
8
error: trailing attribute after generic parameter
  --> $DIR/attrs-with-no-formal-in-generics-1.rs:9:29
   |
LL | impl<#[rustc_dummy] 'a, 'b, #[oops]> RefIntPair<'a, 'b> {
   |                             ^^^^^^^ attributes must go before parameters

error: aborting due to previous error