11error: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
2- --> $DIR/single_match_else.rs:17 :13
2+ --> $DIR/single_match_else.rs:18 :13
33 |
44LL | let _ = match ExprNode::Butterflies {
55 | _____________^
@@ -21,7 +21,7 @@ LL ~ };
2121 |
2222
2323error: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
24- --> $DIR/single_match_else.rs:82 :5
24+ --> $DIR/single_match_else.rs:83 :5
2525 |
2626LL | / match Some(1) {
2727LL | | Some(a) => println!("${:?}", a),
4141 |
4242
4343error: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
44- --> $DIR/single_match_else.rs:91 :5
44+ --> $DIR/single_match_else.rs:92 :5
4545 |
4646LL | / match Some(1) {
4747LL | | Some(a) => println!("${:?}", a),
6161 |
6262
6363error: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
64- --> $DIR/single_match_else.rs:101 :5
64+ --> $DIR/single_match_else.rs:102 :5
6565 |
6666LL | / match Result::<i32, Infallible>::Ok(1) {
6767LL | | Ok(a) => println!("${:?}", a),
8181 |
8282
8383error: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
84- --> $DIR/single_match_else.rs:110 :5
84+ --> $DIR/single_match_else.rs:111 :5
8585 |
8686LL | / match Cow::from("moo") {
8787LL | | Cow::Owned(a) => println!("${:?}", a),
@@ -101,7 +101,7 @@ LL + }
101101 |
102102
103103error: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
104- --> $DIR/single_match_else.rs:120 :5
104+ --> $DIR/single_match_else.rs:121 :5
105105 |
106106LL | / match bar {
107107LL | | Some(v) => unsafe {
@@ -124,7 +124,7 @@ LL + }
124124 |
125125
126126error: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
127- --> $DIR/single_match_else.rs:131 :5
127+ --> $DIR/single_match_else.rs:132 :5
128128 |
129129LL | / match bar {
130130LL | | Some(v) => {
@@ -148,7 +148,7 @@ LL + } }
148148 |
149149
150150error: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
151- --> $DIR/single_match_else.rs:143 :5
151+ --> $DIR/single_match_else.rs:144 :5
152152 |
153153LL | / match bar {
154154LL | | Some(v) => unsafe {
@@ -172,7 +172,7 @@ LL + } }
172172 |
173173
174174error: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
175- --> $DIR/single_match_else.rs:155 :5
175+ --> $DIR/single_match_else.rs:156 :5
176176 |
177177LL | / match bar {
178178LL | | #[rustfmt::skip]
0 commit comments