rust/src/test/compile-fail/unique-mut.rs

4 lines
72 B
Rust
Raw Normal View History

//error-pattern:mismatched types
fn main() {
2012-03-26 20:35:18 -05:00
let i: ~int = ~mut 0;
}