diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-11-02 16:01:38 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-11-02 16:01:38 +0000 |
commit | cb04f0c019bdd77406a7feb6ae7f4a17924d0693 (patch) | |
tree | 5bb833b20c4d66a3683ceeb60a922a86284d5ad6 /crates/ide/src/diagnostics | |
parent | 731b38fa3c1694648e6c8e60f61820f9783343eb (diff) | |
parent | f5e7f07838975757703a7e00adb45ee43c2d9a1a (diff) |
Merge #6440
6440: Deny unreachable pub r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ide/src/diagnostics')
-rw-r--r-- | crates/ide/src/diagnostics/fixes.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide/src/diagnostics/fixes.rs b/crates/ide/src/diagnostics/fixes.rs index 0c950003e..02e17ba43 100644 --- a/crates/ide/src/diagnostics/fixes.rs +++ b/crates/ide/src/diagnostics/fixes.rs | |||
@@ -25,7 +25,7 @@ use crate::{diagnostics::Fix, references::rename::rename_with_semantics, FilePos | |||
25 | /// A [Diagnostic] that potentially has a fix available. | 25 | /// A [Diagnostic] that potentially has a fix available. |
26 | /// | 26 | /// |
27 | /// [Diagnostic]: hir::diagnostics::Diagnostic | 27 | /// [Diagnostic]: hir::diagnostics::Diagnostic |
28 | pub trait DiagnosticWithFix: Diagnostic { | 28 | pub(crate) trait DiagnosticWithFix: Diagnostic { |
29 | fn fix(&self, sema: &Semantics<RootDatabase>) -> Option<Fix>; | 29 | fn fix(&self, sema: &Semantics<RootDatabase>) -> Option<Fix>; |
30 | } | 30 | } |
31 | 31 | ||