about summary refs log tree commit diff
path: root/src/test/parse-fail/trailing-plus-in-bounds.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/parse-fail/trailing-plus-in-bounds.rs')
-rw-r--r--src/test/parse-fail/trailing-plus-in-bounds.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/parse-fail/trailing-plus-in-bounds.rs b/src/test/parse-fail/trailing-plus-in-bounds.rs
index e8f9ed4d2cf..8febbf8309e 100644
--- a/src/test/parse-fail/trailing-plus-in-bounds.rs
+++ b/src/test/parse-fail/trailing-plus-in-bounds.rs
@@ -8,11 +8,10 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-use std::fmt::Show;
+use std::fmt::Debug;
 
 fn main() {
-    let x: Box<Show+> = box 3 as Box<Show+>;
+    let x: Box<Debug+> = box 3 as Box<Debug+>;
     //~^ ERROR at least one type parameter bound must be specified
     //~^^ ERROR at least one type parameter bound must be specified
 }
-