diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2022-08-23 00:09:58 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2022-08-23 00:09:58 +0200 |
| commit | dff428013dde1e89b6c644b9649f0dc53ceac354 (patch) | |
| tree | 6b24564f497c770a7e30c50a9cbfc6b186a6bd96 /compiler/rustc_resolve/src | |
| parent | da9ccc2c98ac4d88e5f2b940b9b61ec6d25facaa (diff) | |
| download | rust-dff428013dde1e89b6c644b9649f0dc53ceac354.tar.gz rust-dff428013dde1e89b6c644b9649f0dc53ceac354.zip | |
Mark suggestion as MaybeIncorrect.
Diffstat (limited to 'compiler/rustc_resolve/src')
| -rw-r--r-- | compiler/rustc_resolve/src/diagnostics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/diagnostics.rs b/compiler/rustc_resolve/src/diagnostics.rs index fc198350198..25013036d87 100644 --- a/compiler/rustc_resolve/src/diagnostics.rs +++ b/compiler/rustc_resolve/src/diagnostics.rs @@ -566,7 +566,7 @@ impl<'a> Resolver<'a> { (span, snippet) }; // Suggest the modification to the user - err.span_suggestion(span, sugg_msg, snippet, Applicability::MachineApplicable); + err.span_suggestion(span, sugg_msg, snippet, Applicability::MaybeIncorrect); } err |
