about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Moelius <sam@moeli.us>2022-10-22 07:08:45 -0400
committerSamuel Moelius <sam@moeli.us>2022-10-22 07:17:36 -0400
commit62b65b5edeaf87a7889c84c61218878f4849e8da (patch)
tree6036cb233f6469e3259881f423b61be903b12a1b
parent26c96e341639102afacbbcad0dc18ad0ac71ab18 (diff)
downloadrust-62b65b5edeaf87a7889c84c61218878f4849e8da.tar.gz
rust-62b65b5edeaf87a7889c84c61218878f4849e8da.zip
Change `unknown_lint` applicability to `MaybeIncorrect`
-rw-r--r--compiler/rustc_lint/src/levels.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/levels.rs b/compiler/rustc_lint/src/levels.rs
index d3879ff487d..db0a3419e6a 100644
--- a/compiler/rustc_lint/src/levels.rs
+++ b/compiler/rustc_lint/src/levels.rs
@@ -960,7 +960,7 @@ impl<'s, P: LintLevelsProvider> LintLevelsBuilder<'s, P> {
                                         sp,
                                         "did you mean",
                                         suggestion,
-                                        Applicability::MachineApplicable,
+                                        Applicability::MaybeIncorrect,
                                     );
                                 }
                                 lint