mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Rust: Accept test change.
This commit is contained in:
@@ -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. |
|
||||
|
||||
@@ -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]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user