diff options
Diffstat (limited to 'src/test/run-pass/while-prelude-drop.rs')
| -rw-r--r-- | src/test/run-pass/while-prelude-drop.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/while-prelude-drop.rs b/src/test/run-pass/while-prelude-drop.rs index b8473abb06d..88d5314a96a 100644 --- a/src/test/run-pass/while-prelude-drop.rs +++ b/src/test/run-pass/while-prelude-drop.rs @@ -17,7 +17,7 @@ use std::string::String; #[derive(PartialEq)] enum t { a, b(String), } -fn make(i: int) -> t { +fn make(i: isize) -> t { if i > 10 { return t::a; } let mut s = String::from_str("hello"); // Ensure s is non-const. |
