mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
21 lines
510 B
Plaintext
21 lines
510 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 1 previous error
|
|
|