6d86969260
conflict with the new single-line-sugared-inner-doc-comment (`//! ...`).
7 lines
155 B
Rust
7 lines
155 B
Rust
fn main() {
|
|
let x = @5;
|
|
let y <- x; //~ NOTE move of variable occurred here
|
|
log(debug, *x); //~ ERROR use of moved variable: `x`
|
|
copy y;
|
|
}
|