diff options
Diffstat (limited to 'src/test/compile-fail/issue-5439.rs')
| -rw-r--r-- | src/test/compile-fail/issue-5439.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/compile-fail/issue-5439.rs b/src/test/compile-fail/issue-5439.rs index 72074d64edc..4e618f3d858 100644 --- a/src/test/compile-fail/issue-5439.rs +++ b/src/test/compile-fail/issue-5439.rs @@ -11,15 +11,15 @@ #![feature(box_syntax)] struct Foo { - foo: int, + foo: isize, } struct Bar { - bar: int, + bar: isize, } impl Bar { - fn make_foo (&self, i: int) -> Box<Foo> { + fn make_foo (&self, i: isize) -> Box<Foo> { return box Foo { nonexistent: self, foo: i }; //~ ERROR: no field named } } |
