rust/tests/ui/lint/unused/issue-105061-should-lint.stderr
2023-01-14 17:11:05 +08:00

21 lines
567 B
Plaintext

error: unnecessary parentheses around type
--> $DIR/issue-105061-should-lint.rs:12:13
|
LL | for<'b> (for<'a> fn(Inv<'a>)): Trait<'b>,
| ^ ^
|
note: the lint level is defined here
--> $DIR/issue-105061-should-lint.rs:2:9
|
LL | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(unused_parens)]` implied by `#[deny(warnings)]`
help: remove these parentheses
|
LL - for<'b> (for<'a> fn(Inv<'a>)): Trait<'b>,
LL + for<'b> for<'a> fn(Inv<'a>): Trait<'b>,
|
error: aborting due to previous error