about summary refs log tree commit diff
path: root/src/test/compile-fail/issue-1362.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/issue-1362.rs')
-rw-r--r--src/test/compile-fail/issue-1362.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/issue-1362.rs b/src/test/compile-fail/issue-1362.rs
index 64c503376d5..28d16f9c0b7 100644
--- a/src/test/compile-fail/issue-1362.rs
+++ b/src/test/compile-fail/issue-1362.rs
@@ -11,7 +11,7 @@
 // Regression test for issue #1362 - without that fix the span will be bogus
 // no-reformat
 fn main() {
-  let x: usize = 20i; //~ ERROR mismatched types
+  let x: usize = 20is; //~ ERROR mismatched types
 }
 // NOTE: Do not add any extra lines as the line number the error is
 // on is significant; an error later in the source file might not