diff options
| author | Ivan Radanov Ivanov <ivanradanov@yahoo.co.uk> | 2015-02-24 16:07:54 +0200 |
|---|---|---|
| committer | Ivan Radanov Ivanov <ivanradanov@yahoo.co.uk> | 2015-03-03 15:18:33 +0200 |
| commit | 7496539a00b36d86620699576bc7c82ce03dca7e (patch) | |
| tree | 81fbd8303dab0e7168e664201d52cdd83ebbd916 /src/libsyntax/parse/lexer | |
| parent | 24a840d4897f0853cb034e5a1b51fb28cd450f11 (diff) | |
| download | rust-7496539a00b36d86620699576bc7c82ce03dca7e.tar.gz rust-7496539a00b36d86620699576bc7c82ce03dca7e.zip | |
Change span_help calls to fileline_help where appropriate
Diffstat (limited to 'src/libsyntax/parse/lexer')
| -rw-r--r-- | src/libsyntax/parse/lexer/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/lexer/mod.rs b/src/libsyntax/parse/lexer/mod.rs index 83d2bb0cc70..31716ef243a 100644 --- a/src/libsyntax/parse/lexer/mod.rs +++ b/src/libsyntax/parse/lexer/mod.rs @@ -772,7 +772,7 @@ impl<'a> StringReader<'a> { self.span_diagnostic .span_warn(sp, "\\U00ABCD12 and \\uABCD escapes are deprecated"); self.span_diagnostic - .span_help(sp, "use \\u{ABCD12} escapes instead"); + .fileline_help(sp, "use \\u{ABCD12} escapes instead"); } /// Scan for a single (possibly escaped) byte or char |
