rust/src/test/compile-fail/mutable-huh-variance-deep.rs
2012-03-26 18:35:18 -07:00

11 lines
146 B
Rust

// error-pattern: mismatched types
fn main() {
let v = [mut @mut ~mut [0]];
fn f(&&v: [mut @mut ~mut [const int]]) {
}
f(v);
}