File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
branches/try/src/test/compile-fail Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 0e4d1fc8cae42e15e00f71d9f439b01bb25a86ae
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 6c08cc2db4f98e9f07ae7d50338396c4123c2f0a
5
- refs/heads/try: 9627e80ce5f8f7637137647410dcf9cf7b0147c6
5
+ refs/heads/try: 4e543f7a935b58bdb343980543db173e26b5e31a
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
Original file line number Diff line number Diff line change @@ -21,6 +21,6 @@ impl Drop for A {
21
21
}
22
22
fn main ( ) {
23
23
let a = A { y : Arc :: new ( 1 ) , x : Arc :: new ( 2 ) } ;
24
- let _b = A { y : Arc :: new ( 3 ) , ..a } ;
25
- let _c = a; //~ ERROR use of moved value
24
+ let _b = A { y : Arc :: new ( 3 ) , ..a } ; //~ ERROR cannot move out of type `A`
25
+ let _c = a;
26
26
}
You can’t perform that action at this time.
0 commit comments