about summary refs log tree commit diff
path: root/src/libsyntax/parse/lexer/unicode_chars.rs
diff options
context:
space:
mode:
authorAndy Russell <arussell123@gmail.com>2019-01-25 16:03:27 -0500
committerAndy Russell <arussell123@gmail.com>2019-01-26 23:07:55 -0500
commit0897ffc28f68fab862e970599c95bb65b280b48b (patch)
tree7a1b107f558b9fc90815eadae7b004129b509f8f /src/libsyntax/parse/lexer/unicode_chars.rs
parent8eaa84c79f5491735dc616d8591318e954e57a68 (diff)
remove `_with_applicability` from suggestion fns
Diffstat (limited to 'src/libsyntax/parse/lexer/unicode_chars.rs')
-rw-r--r--src/libsyntax/parse/lexer/unicode_chars.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/lexer/unicode_chars.rs b/src/libsyntax/parse/lexer/unicode_chars.rs
index c31756714a6..7da4284c0e4 100644
--- a/src/libsyntax/parse/lexer/unicode_chars.rs
+++ b/src/libsyntax/parse/lexer/unicode_chars.rs
@@ -336,7 +336,7 @@ crate fn check_for_substitution<'a>(reader: &StringReader<'a>,
                 let msg =
                     format!("Unicode character '{}' ({}) looks like '{}' ({}), but it is not",
                             ch, u_name, ascii_char, ascii_name);
-                err.span_suggestion_with_applicability(
+                err.span_suggestion(
                     span,
                     &msg,
                     ascii_char.to_string(),