Rust: Accept test change.

This commit is contained in:
Geoffrey White
2025-12-10 18:09:12 +00:00
parent 6ca90a2d62
commit f1d241f810
2 changed files with 1 additions and 2 deletions

View File

@@ -10,7 +10,6 @@
| main.rs:307:13:307:15 | num | Variable 'num' is not used. |
| main.rs:342:25:342:25 | y | Variable 'y' is not used. |
| main.rs:345:28:345:28 | a | Variable 'a' is not used. |
| main.rs:348:9:348:9 | p | Variable 'p' is not used. |
| main.rs:366:9:366:13 | right | Variable 'right' is not used. |
| main.rs:372:9:372:14 | right2 | Variable 'right2' is not used. |
| main.rs:383:13:383:13 | y | Variable 'y' is not used. |

View File

@@ -345,7 +345,7 @@ fn if_lets_matches() {
MyPoint { x: 3, y: a } => { // $ Alert[rust/unused-variable]
}
MyPoint { x: 4, .. } => {}
p => { // $ Alert[rust/unused-variable]
p => { // $ MISSING: Alert[rust/unused-variable]
}
}