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

4 lines
76 B
Rust
Raw Normal View History

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