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