Skip to content

Commit f1d241f

Browse files
committed
Rust: Accept test change.
1 parent 6ca90a2 commit f1d241f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

rust/ql/test/query-tests/unusedentities/UnusedVariable.expected

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
| main.rs:307:13:307:15 | num | Variable 'num' is not used. |
1111
| main.rs:342:25:342:25 | y | Variable 'y' is not used. |
1212
| main.rs:345:28:345:28 | a | Variable 'a' is not used. |
13-
| main.rs:348:9:348:9 | p | Variable 'p' is not used. |
1413
| main.rs:366:9:366:13 | right | Variable 'right' is not used. |
1514
| main.rs:372:9:372:14 | right2 | Variable 'right2' is not used. |
1615
| main.rs:383:13:383:13 | y | Variable 'y' is not used. |

rust/ql/test/query-tests/unusedentities/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ fn if_lets_matches() {
345345
MyPoint { x: 3, y: a } => { // $ Alert[rust/unused-variable]
346346
}
347347
MyPoint { x: 4, .. } => {}
348-
p => { // $ Alert[rust/unused-variable]
348+
p => { // $ MISSING: Alert[rust/unused-variable]
349349
}
350350
}
351351

0 commit comments

Comments
 (0)