diff options
Diffstat (limited to 'src/test/compile-fail/where-clauses-not-parameter.rs')
| -rw-r--r-- | src/test/compile-fail/where-clauses-not-parameter.rs | 2 | 
1 files changed, 1 insertions, 1 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..65205cc72ee 100644 --- a/src/test/compile-fail/where-clauses-not-parameter.rs +++ b/src/test/compile-fail/where-clauses-not-parameter.rs @@ -35,7 +35,7 @@ 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 {} } | 
