2014-10-27 17:37:07 -05:00
|
|
|
#![deny(unused_variables)]
|
2014-10-13 16:15:07 -05:00
|
|
|
|
|
|
|
fn main() {
|
2015-01-31 10:23:42 -06:00
|
|
|
for _ in 1..101 {
|
2014-10-13 16:15:07 -05:00
|
|
|
let x = (); //~ ERROR: unused variable: `x`
|
|
|
|
match () {
|
|
|
|
a => {} //~ ERROR: unused variable: `a`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|