diff options
| author | kennytm <kennytm@gmail.com> | 2018-03-22 17:51:25 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2018-03-22 22:43:37 +0800 |
| commit | 8d3f3f0cac3de7dfbb126db3c48d7499c96d86ec (patch) | |
| tree | 1ea48d9447fff532f6598dee6899a42ec36a687c /src/libsyntax/parse/mod.rs | |
| parent | 245f4c4631401c9a25ed62e8f75b97607b3b38bb (diff) | |
| parent | 66d120cd263ea77a44fcde9409a71ac673a5262c (diff) | |
| download | rust-8d3f3f0cac3de7dfbb126db3c48d7499c96d86ec.tar.gz rust-8d3f3f0cac3de7dfbb126db3c48d7499c96d86ec.zip | |
Rollup merge of #49117 - nivkner:fixme_fixup3, r=estebank
address some FIXME whose associated issues were marked as closed part of #44366
Diffstat (limited to 'src/libsyntax/parse/mod.rs')
| -rw-r--r-- | src/libsyntax/parse/mod.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libsyntax/parse/mod.rs b/src/libsyntax/parse/mod.rs index f7e5d40b524..202dc03eaa4 100644 --- a/src/libsyntax/parse/mod.rs +++ b/src/libsyntax/parse/mod.rs @@ -298,7 +298,6 @@ pub fn str_lit(lit: &str, diag: Option<(Span, &Handler)>) -> String { debug!("parse_str_lit: given {}", escape_default(lit)); let mut res = String::with_capacity(lit.len()); - // FIXME #8372: This could be a for-loop if it didn't borrow the iterator let error = |i| format!("lexer should have rejected {} at {}", lit, i); /// Eat everything up to a non-whitespace @@ -503,7 +502,6 @@ pub fn byte_lit(lit: &str) -> (u8, usize) { pub fn byte_str_lit(lit: &str) -> Lrc<Vec<u8>> { let mut res = Vec::with_capacity(lit.len()); - // FIXME #8372: This could be a for-loop if it didn't borrow the iterator let error = |i| format!("lexer should have rejected {} at {}", lit, i); /// Eat everything up to a non-whitespace |
