summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/lint-struct-necessary.stderr
blob: eb65a9e98c6e78a8e248afa282620378352404c8 (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 previous error