2023-07-13 19:20:29 -05:00
|
|
|
error: unnecessary parentheses around `match` scrutinee expression
|
|
|
|
--> $DIR/lint-struct-necessary.rs:15:11
|
|
|
|
|
|
|
|
|
LL | match (e) {
|
|
|
|
| ^ ^
|
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
|
|
|
--> $DIR/lint-struct-necessary.rs:2:9
|
|
|
|
|
|
|
|
|
LL | #![deny(unused_parens)]
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
help: remove these parentheses
|
|
|
|
|
|
|
|
|
LL - match (e) {
|
|
|
|
LL + match e {
|
|
|
|
|
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2023-07-13 19:20:29 -05:00
|
|
|
|