We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e3f4cd commit 40096ebCopy full SHA for 40096eb
rust/ql/test/query-tests/unusedentities/main.rs
@@ -111,7 +111,7 @@ fn arrays() {
111
112
println!("lets use {:?}", js);
113
114
- for k
+ for k // SPURIOUS: unused variable [macros not yet supported]
115
in ks
116
{
117
println!("lets use {}", k); // [unreachable FALSE POSITIVE]
@@ -251,12 +251,12 @@ fn main() {
251
arrays();
252
statics();
253
println!("lets use result {}", parameters(1, 2, 3));
254
- loops();
255
- if_lets();
+ loops();
+ if_lets();
256
unreachable_if();
257
unreachable_panic();
258
unreachable_match();
259
unreachable_loop();
260
261
- println!("lets use result {}", parameters(1, 2, 3));
+ println!("lets use result {}", parameters(1, 2, 3));
262
}
0 commit comments