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

error: aborting due to previous error