about summary refs log tree commit diff
path: root/src/test/compile-fail/where-clauses-not-parameter.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/where-clauses-not-parameter.rs')
-rw-r--r--src/test/compile-fail/where-clauses-not-parameter.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/where-clauses-not-parameter.rs b/src/test/compile-fail/where-clauses-not-parameter.rs
index d8af859c081..5573464c5ab 100644
--- a/src/test/compile-fail/where-clauses-not-parameter.rs
+++ b/src/test/compile-fail/where-clauses-not-parameter.rs
@@ -35,11 +35,11 @@ trait Baz<T> where isize : Eq {
     //~^ ERROR cannot bound type `isize`, where clause
 }
 
-impl Baz<int> for int where isize : Eq {
+impl Baz<isize> for isize where isize : Eq {
     //~^ ERROR cannot bound type `isize`, where clause bounds
     fn baz() where String : Eq {}
 }
 
 fn main() {
-    equal(&0i, &0i);
+    equal(&0is, &0is);
 }