about summary refs log tree commit diff
path: root/src/libsyntax/config.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/config.rs
parent8eaa84c79f5491735dc616d8591318e954e57a68 (diff)
downloadrust-0897ffc28f68fab862e970599c95bb65b280b48b.tar.gz
rust-0897ffc28f68fab862e970599c95bb65b280b48b.zip
remove `_with_applicability` from suggestion fns
Diffstat (limited to 'src/libsyntax/config.rs')
-rw-r--r--src/libsyntax/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/config.rs b/src/libsyntax/config.rs
index 50e0056f3b9..2930ce079c8 100644
--- a/src/libsyntax/config.rs
+++ b/src/libsyntax/config.rs
@@ -155,7 +155,7 @@ impl<'a> StripUnconfigured<'a> {
             let error = |span, msg, suggestion: &str| {
                 let mut err = self.sess.span_diagnostic.struct_span_err(span, msg);
                 if !suggestion.is_empty() {
-                    err.span_suggestion_with_applicability(
+                    err.span_suggestion(
                         span,
                         "expected syntax is",
                         suggestion.into(),