rust/tests/ui/attributes/attrs-with-no-formal-in-generics-2.stderr
2023-01-11 09:32:08 +00:00

9 lines
314 B
Plaintext

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