Skip to content

Commit 8b0f834

Browse files
committed
---
yaml --- r: 83270 b: refs/heads/try c: 4e543f7 h: refs/heads/master v: v3
1 parent 7ab78e0 commit 8b0f834

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 0e4d1fc8cae42e15e00f71d9f439b01bb25a86ae
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 6c08cc2db4f98e9f07ae7d50338396c4123c2f0a
5-
refs/heads/try: 9627e80ce5f8f7637137647410dcf9cf7b0147c6
5+
refs/heads/try: 4e543f7a935b58bdb343980543db173e26b5e31a
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/test/compile-fail/functional-struct-update-noncopyable.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ impl Drop for A {
2121
}
2222
fn main() {
2323
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;
2626
}

0 commit comments

Comments
 (0)