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