mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
21 lines
508 B
Plaintext
21 lines
508 B
Plaintext
error: unnecessary parentheses around type
|
|
--> $DIR/issue-105061.rs:12:6
|
|
|
|
|
LL | ((for<'a> fn(Inv<'a>)),): Trait,
|
|
| ^ ^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/issue-105061.rs:2:9
|
|
|
|
|
LL | #![deny(warnings)]
|
|
| ^^^^^^^^
|
|
= note: `#[deny(unused_parens)]` implied by `#[deny(warnings)]`
|
|
help: remove these parentheses
|
|
|
|
|
LL - ((for<'a> fn(Inv<'a>)),): Trait,
|
|
LL + (for<'a> fn(Inv<'a>),): Trait,
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|