diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2014-12-05 09:57:42 -0800 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2014-12-24 19:33:04 +0100 |
| commit | 1e5811ef9271644db0d0ddaae351976b0d4abdd2 (patch) | |
| tree | 3d7df2eeab4cd26f82fce87cb40183f88b72e5d4 /src/compiletest/errors.rs | |
| parent | e64a8193b02ce72ef183274994a25eae281cb89c (diff) | |
| download | rust-1e5811ef9271644db0d0ddaae351976b0d4abdd2.tar.gz rust-1e5811ef9271644db0d0ddaae351976b0d4abdd2.zip | |
Rename to_ascii_{lower,upper} to to_ascii_{lower,upper}case, per #14401
[breaking-change]
Diffstat (limited to 'src/compiletest/errors.rs')
| -rw-r--r-- | src/compiletest/errors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiletest/errors.rs b/src/compiletest/errors.rs index b7df43aabdd..16c6f725030 100644 --- a/src/compiletest/errors.rs +++ b/src/compiletest/errors.rs @@ -67,7 +67,7 @@ fn parse_expected(last_nonfollow_error: Option<uint>, re: &Regex) -> Option<(WhichLine, ExpectedError)> { re.captures(line).and_then(|caps| { let adjusts = caps.name("adjusts").unwrap_or("").len(); - let kind = caps.name("kind").unwrap_or("").to_ascii_lower(); + let kind = caps.name("kind").unwrap_or("").to_ascii_lowercase(); let msg = caps.name("msg").unwrap_or("").trim().to_string(); let follow = caps.name("follow").unwrap_or("").len() > 0; |
