diff options
| author | Tim Kuehn <tikue@google.com> | 2018-06-22 16:23:25 -0700 |
|---|---|---|
| committer | Tim Kuehn <tikue@google.com> | 2018-06-22 16:23:25 -0700 |
| commit | 0c33e0ae134937f79182c8e58ea0cb1180c8fb3f (patch) | |
| tree | 827de28ea0ac47f65c56f3bbd7089cd803e75fa5 /src/libsyntax/parse/mod.rs | |
| parent | cbc4c8380fb92a719ae9be40f9da44ca7e3e2f3f (diff) | |
| download | rust-0c33e0ae134937f79182c8e58ea0cb1180c8fb3f.tar.gz rust-0c33e0ae134937f79182c8e58ea0cb1180c8fb3f.zip | |
Re-reexport some items that were recently made crate-private.
Diffstat (limited to 'src/libsyntax/parse/mod.rs')
| -rw-r--r-- | src/libsyntax/parse/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/mod.rs b/src/libsyntax/parse/mod.rs index 0050434d42e..1cb127bdcc9 100644 --- a/src/libsyntax/parse/mod.rs +++ b/src/libsyntax/parse/mod.rs @@ -294,7 +294,7 @@ fn char_lit(lit: &str, diag: Option<(Span, &Handler)>) -> (char, isize) { /// Parse a string representing a string literal into its final form. Does /// unescaping. -fn str_lit(lit: &str, diag: Option<(Span, &Handler)>) -> String { +pub fn str_lit(lit: &str, diag: Option<(Span, &Handler)>) -> String { debug!("str_lit: given {}", lit.escape_default()); let mut res = String::with_capacity(lit.len()); |
