about summary refs log tree commit diff
path: root/src/test/compile-fail/match-range-fail.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/match-range-fail.rs')
-rw-r--r--src/test/compile-fail/match-range-fail.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/match-range-fail.rs b/src/test/compile-fail/match-range-fail.rs
index 30386a58983..f89b3e39390 100644
--- a/src/test/compile-fail/match-range-fail.rs
+++ b/src/test/compile-fail/match-range-fail.rs
@@ -20,7 +20,7 @@ fn main() {
         10 ... "what" => ()
     };
     //~^^ ERROR only char and numeric types are allowed in range
-    //~| start type: {numeric}
+    //~| start type: {integer}
     //~| end type: &'static str
 
     match 5 {
@@ -28,6 +28,6 @@ fn main() {
         _ => { }
     };
     //~^^^ ERROR mismatched types
-    //~| expected type `_`
+    //~| expected type `{integer}`
     //~| found type `char`
 }