rust/tests/ui/attributes/attrs-with-no-formal-in-generics-3.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
332 B
Plaintext
Raw Normal View History

2019-02-07 10:10:11 +01:00
error: trailing attribute after generic parameter
--> $DIR/attrs-with-no-formal-in-generics-3.rs:8:44
2018-08-08 14:28:26 +02:00
|
LL | where Q: for <#[allow(unused)] 'a, 'b, #[oops]> Fn(RefIntPair<'a,'b>) -> &'b u32
| ^^^^^^^ attributes must go before parameters
2018-08-08 14:28:26 +02:00
error: aborting due to previous error
2018-08-08 14:28:26 +02:00