|
LL | #![deny(unused_variables)]
| ^^^^^^^^^^^^^^^^
-help: consider prefixing with an underscore
+help: if this is intentional, prefix it with an underscore
|
LL | E::A(_x) | E::B(_x) => {}
| ^^ ^^
LL | F::A(x, y) | F::B(x, y) => { y },
| ^ ^
|
-help: consider prefixing with an underscore
+help: if this is intentional, prefix it with an underscore
|
LL | F::A(_x, y) | F::B(_x, y) => { y },
| ^^ ^^
--> $DIR/issue-56685.rs:27:14
|
LL | F::C(a, b) => { 3 }
- | ^ help: consider prefixing with an underscore: `_a`
+ | ^ help: if this is intentional, prefix it with an underscore: `_a`
error: unused variable: `b`
--> $DIR/issue-56685.rs:27:17
|
LL | F::C(a, b) => { 3 }
- | ^ help: consider prefixing with an underscore: `_b`
+ | ^ help: if this is intentional, prefix it with an underscore: `_b`
error: unused variable: `x`
--> $DIR/issue-56685.rs:32:25
LL | let _ = if let F::A(x, y) | F::B(x, y) = F::A(1, 2) {
| ^ ^
|
-help: consider prefixing with an underscore
+help: if this is intentional, prefix it with an underscore
|
LL | let _ = if let F::A(_x, y) | F::B(_x, y) = F::A(1, 2) {
| ^^ ^^
LL | while let F::A(x, y) | F::B(x, y) = F::A(1, 2) {
| ^ ^
|
-help: consider prefixing with an underscore
+help: if this is intentional, prefix it with an underscore
|
LL | while let F::A(_x, y) | F::B(_x, y) = F::A(1, 2) {
| ^^ ^^