We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90ef2a0 commit 64467fbCopy full SHA for 64467fb
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: 79603f573e504163db7b5c2afa0917c27e3f98ed
+refs/heads/master: bbda995bfe03680b6d621c6ab809ddb145125c3a
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
trunk/src/test/compile-fail/cap-clause-use-after-move.rs
@@ -1,7 +1,5 @@
-// error-pattern:Unsatisfied precondition constraint
-
fn main() {
let x = 5;
let _y = fn~(move x) { };
6
- let _z = x; //< error: Unsatisfied precondition constraint
+ let _z = x; //~ ERROR use of moved variable: `x`
7
}
0 commit comments