about summary refs log tree commit diff
path: root/src/libsyntax/parse/mod.rs
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2013-07-25 01:03:53 -0700
committerGraydon Hoare <graydon@mozilla.com>2013-07-25 01:06:38 -0700
commitc3417b88aa20f835a5c19dc5d8539eb33f2802b9 (patch)
tree08641847ed5df67feeed74859c37e41dae54025e /src/libsyntax/parse/mod.rs
parentba9c3ebc02716252cf46944e4dd3a866cc51947c (diff)
downloadrust-c3417b88aa20f835a5c19dc5d8539eb33f2802b9.tar.gz
rust-c3417b88aa20f835a5c19dc5d8539eb33f2802b9.zip
syntax: Fix #6416 by aborting on errors after test parse.
Diffstat (limited to 'src/libsyntax/parse/mod.rs')
-rw-r--r--src/libsyntax/parse/mod.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libsyntax/parse/mod.rs b/src/libsyntax/parse/mod.rs
index bd57f123cc5..5cdf0ec1acc 100644
--- a/src/libsyntax/parse/mod.rs
+++ b/src/libsyntax/parse/mod.rs
@@ -384,12 +384,10 @@ mod test {
                               span:sp(0,6)})
     }
 
-    // FIXME (#6416): For some reason, this fails and causes a test failure, even though it's
-    // marked as `#[should_fail]`.
-    /*#[should_fail]
+    #[should_fail]
     #[test] fn bad_path_expr_1() {
         string_to_expr(@"::abc::def::return");
-    }*/
+    }
 
     #[test] fn string_to_tts_1 () {
         let (tts,_ps) = string_to_tts_and_sess(@"fn a (b : int) { b; }");