summary refs log tree commit diff
path: root/src/test/compile-fail/use-after-move.rs
blob: 177ad0010befa849ca269ae50b7366e6a4aaa0d9 (plain)
1
2
// error-pattern:unsatisfied precondition constraint (for example, init(x
fn main() { let x = @5; let y <- x; log(debug, *x); }