rust/src/test/compile-fail/use-after-move.rs
2012-03-05 17:05:20 -08:00

3 lines
128 B
Rust

// error-pattern:unsatisfied precondition constraint (for example, init(x
fn main() { let x = @5; let y <- x; log(debug, *x); }