rust/src/test/compile-fail/name-clash-nullary.rs
2012-03-05 17:05:20 -08:00

8 lines
122 B
Rust

// error-pattern:declaration of `none` shadows
import option::*;
fn main() {
let none: int = 42;
log(debug, none);
}