diff options
Diffstat (limited to 'src/test/run-pass/trait-bounds.rs')
| -rw-r--r-- | src/test/run-pass/trait-bounds.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/trait-bounds.rs b/src/test/run-pass/trait-bounds.rs index 0db77ec2f79..642119df15c 100644 --- a/src/test/run-pass/trait-bounds.rs +++ b/src/test/run-pass/trait-bounds.rs @@ -11,7 +11,7 @@ // pretty-expanded FIXME #23616 trait connection { - fn read(&self) -> int; + fn read(&self) -> isize; } trait connection_factory<C:connection> { @@ -22,7 +22,7 @@ type my_connection = (); type my_connection_factory = (); impl connection for () { - fn read(&self) -> int { 43 } + fn read(&self) -> isize { 43 } } impl connection_factory<my_connection> for my_connection_factory { |
