mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-13 23:42:56 +00:00
compiletest: update for language change
This commit is contained in:
parent
89c5ad69f0
commit
18bee38bbe
@ -781,7 +781,7 @@ fn _arm_exec_compiled_test(config: &config, props: &TestProps,
|
||||
|
||||
let mut exitcode : int = 0;
|
||||
for str::each_char(exitcode_out) |c| {
|
||||
if !char::is_digit(c) { break; }
|
||||
if !c.is_digit() { break; }
|
||||
exitcode = exitcode * 10 + match c {
|
||||
'0' .. '9' => c as int - ('0' as int),
|
||||
_ => 101,
|
||||
|
Loading…
Reference in New Issue
Block a user