summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/lint-struct-necessary.stderr
blob: 90b2af7dea9b0658344ea046288cf13ac08f8f72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 {
   |

error: aborting due to 1 previous error