mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 00:00:03 +03:00
commit
47f8199a99
|
@ -7,7 +7,7 @@ mod tests {
|
||||||
// TODO: Fix the compiler errors only by reordering the lines in the test.
|
// TODO: Fix the compiler errors only by reordering the lines in the test.
|
||||||
// Don't add, change or remove any line.
|
// Don't add, change or remove any line.
|
||||||
#[test]
|
#[test]
|
||||||
fn move_semantics5() {
|
fn move_semantics4() {
|
||||||
let mut x = 100;
|
let mut x = 100;
|
||||||
let y = &mut x;
|
let y = &mut x;
|
||||||
let z = &mut x;
|
let z = &mut x;
|
||||||
|
|
Loading…
Reference in a new issue