07e13fe447
Turn the let assignment initializers into move initializers since that assignment is going to become illegal
10 lines
118 B
Rust
10 lines
118 B
Rust
// error-pattern: mismatched kind
|
|
|
|
resource r(b: bool) {
|
|
}
|
|
|
|
fn main() {
|
|
let i <- ~r(true);
|
|
let j;
|
|
j = i;
|
|
} |