diff options
| author | bors <bors@rust-lang.org> | 2014-06-16 08:16:49 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-06-16 08:16:49 +0000 |
| commit | 7ec78053ec5fcabd5f8ca98627dd45bfa5fc4cd4 (patch) | |
| tree | 1ea55f8c25540e7339e27fe9dd79cadbc332634f /src/libregex | |
| parent | 2ef910f71ab83761b1f5f9144621f246622e92d8 (diff) | |
| parent | 89b0e6e12ba2fb24ec0e6655a1130c16eb8d1745 (diff) | |
| download | rust-7ec78053ec5fcabd5f8ca98627dd45bfa5fc4cd4.tar.gz rust-7ec78053ec5fcabd5f8ca98627dd45bfa5fc4cd4.zip | |
auto merge of #14900 : alexcrichton/rust/snapshots, r=huonw
Closes #14898 Closes #14918
Diffstat (limited to 'src/libregex')
| -rw-r--r-- | src/libregex/parse/mod.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/libregex/parse/mod.rs b/src/libregex/parse/mod.rs index cedc40df300..2fea75746be 100644 --- a/src/libregex/parse/mod.rs +++ b/src/libregex/parse/mod.rs @@ -635,11 +635,6 @@ impl<'a> Parser<'a> { let closer = match self.pos('}') { Some(i) => i, - #[cfg(stage0)] - None => return self.err(format!( - "Missing '\\}' for unclosed '\\{' at position {}", - self.chari).as_slice()), - #[cfg(not(stage0))] None => return self.err(format!( "Missing '}}' for unclosed '{{' at position {}", self.chari).as_slice()), @@ -701,13 +696,6 @@ impl<'a> Parser<'a> { let start = self.chari + 2; let closer = match self.pos('}') { - #[cfg(stage0)] - None => { - return self.err(format!("Missing '\\}' for unclosed \ - '\\{' at position {}", - start).as_slice()) - } - #[cfg(not(stage0))] None => { return self.err(format!("Missing '}}' for unclosed \ '{{' at position {}", |
