about summary refs log tree commit diff
path: root/src/test/compile-fail/trailing-plus-in-bounds.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/trailing-plus-in-bounds.rs')
-rw-r--r--src/test/compile-fail/trailing-plus-in-bounds.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/trailing-plus-in-bounds.rs b/src/test/compile-fail/trailing-plus-in-bounds.rs
index b189acb685a..069c2e88793 100644
--- a/src/test/compile-fail/trailing-plus-in-bounds.rs
+++ b/src/test/compile-fail/trailing-plus-in-bounds.rs
@@ -11,7 +11,7 @@
 use std::fmt::Show;
 
 fn main() {
-    let x: Box<Show+> = box 3i as Box<Show+>;
+    let x: Box<Show+> = box 3is as Box<Show+>;
     //~^ ERROR at least one type parameter bound must be specified
     //~^^ ERROR at least one type parameter bound must be specified
 }