8a9df5aa38
this is the final part of #1273
8 lines
176 B
Rust
8 lines
176 B
Rust
// error-pattern:Unsatisfied precondition constraint
|
|
|
|
fn main() {
|
|
let x = 5;
|
|
let _y = fn~(move x) { };
|
|
let _z = x; //< error: Unsatisfied precondition constraint
|
|
}
|