rust/src/test/compile-fail/unique-mut.rs
2012-03-26 18:35:18 -07:00

4 lines
72 B
Rust

//error-pattern:mismatched types
fn main() {
let i: ~int = ~mut 0;
}