]> git.lizzy.rs Git - rust.git/blob - src/test/ui/attributes/attrs-with-no-formal-in-generics-3.stderr
Rollup merge of #101388 - compiler-errors:issue-101376, r=fee1-dead
[rust.git] / src / test / ui / attributes / attrs-with-no-formal-in-generics-3.stderr
1 error: trailing attribute after generic parameter
2   --> $DIR/attrs-with-no-formal-in-generics-3.rs:8:44
3    |
4 LL |     where Q: for <#[allow(unused)] 'a, 'b, #[oops]> Fn(RefIntPair<'a,'b>) -> &'b u32
5    |                                            ^^^^^^^ attributes must go before parameters
6
7 error: aborting due to previous error
8