Skip to content

Commit 44664e3

Browse files
braw-leeCohenArthur
authored andcommitted
Fixed testcase
gcc/testsuite/ChangeLog: * rust/borrowck/test_move.rs: Assigning `a` to `c` is the correct way to test the behaviour. Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
1 parent be1e78b commit 44664e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gcc/testsuite/rust/borrowck/test_move.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ fn test_move_fixed() {
1212

1313
let a = 1; // a is now primitive and can be copied
1414
let b = a;
15-
let c = b;
16-
}
15+
let c = a;
16+
}

0 commit comments

Comments
 (0)