diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2012-06-21 10:15:08 -0700 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2012-06-21 10:20:46 -0700 |
| commit | 9a2b60dfce3ababb59eac53b7da083d7bd087e1d (patch) | |
| tree | e478ec5fd7ebc3c1db5e6b56f1f28fc9f50554bd /src | |
| parent | 287f163136b2527504162012b94d346f5523eac9 (diff) | |
| download | rust-9a2b60dfce3ababb59eac53b7da083d7bd087e1d.tar.gz rust-9a2b60dfce3ababb59eac53b7da083d7bd087e1d.zip | |
unxfail test for #2657
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/compile-fail/borrowck-issue-2657-2.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/test/compile-fail/borrowck-issue-2657-2.rs b/src/test/compile-fail/borrowck-issue-2657-2.rs index c9e94331ab0..d8d068ee8fd 100644 --- a/src/test/compile-fail/borrowck-issue-2657-2.rs +++ b/src/test/compile-fail/borrowck-issue-2657-2.rs @@ -1,13 +1,8 @@ -//xfail-test - -// this should be illegal but borrowck is not handling -// pattern bindings correctly right now - fn main() { let x = some(~1); alt x { some(y) { - let b <- y; + let _b <- y; //! ERROR moving out of pattern binding } _ {} } |
