about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-03-09 18:32:16 +0000
committerbors <bors@rust-lang.org>2015-03-09 18:32:16 +0000
commit638832e64cc62ec46721161ca19731ba00d4da58 (patch)
treec4d523c60793d664d81a1ee0a07a69193f371f10 /src/libsyntax/parse
parent777f5d959930711acc321a50c493b984b780f156 (diff)
parente2605b42c7ce37717118fe240f7d0e8c4eae3598 (diff)
downloadrust-638832e64cc62ec46721161ca19731ba00d4da58.tar.gz
rust-638832e64cc62ec46721161ca19731ba00d4da58.zip
Auto merge of #21824 - sfackler:should_panic, r=alexcrichton
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/mod.rs b/src/libsyntax/parse/mod.rs
index 58d58551df3..fae305f9551 100644
--- a/src/libsyntax/parse/mod.rs
+++ b/src/libsyntax/parse/mod.rs
@@ -813,7 +813,7 @@ mod test {
                    }))
     }
 
-    #[should_fail]
+    #[should_panic]
     #[test] fn bad_path_expr_1() {
         string_to_expr("::abc::def::return".to_string());
     }