diff options
Diffstat (limited to 'src/test/compile-fail/impl-bounds-checking.rs')
| -rw-r--r-- | src/test/compile-fail/impl-bounds-checking.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/impl-bounds-checking.rs b/src/test/compile-fail/impl-bounds-checking.rs index 69a35bcbd7b..8c8f67e40ab 100644 --- a/src/test/compile-fail/impl-bounds-checking.rs +++ b/src/test/compile-fail/impl-bounds-checking.rs @@ -17,8 +17,8 @@ trait Getter<T: Clone2> { fn get(&self) -> T; } -impl Getter<int> for int { //~ ERROR the trait `Clone2` is not implemented - fn get(&self) -> int { *self } +impl Getter<isize> for isize { //~ ERROR the trait `Clone2` is not implemented + fn get(&self) -> isize { *self } } fn main() { } |
