From 1ff860b93c972e0f8d3a8ee582c255fa59e9b284 Mon Sep 17 00:00:00 2001 From: Phil Ellison Date: Wed, 30 Dec 2020 15:46:05 +0000 Subject: Implement fix, add tests --- crates/hir/src/diagnostics.rs | 9 --------- 1 file changed, 9 deletions(-) (limited to 'crates/hir') diff --git a/crates/hir/src/diagnostics.rs b/crates/hir/src/diagnostics.rs index f7fd3e237..5343a036c 100644 --- a/crates/hir/src/diagnostics.rs +++ b/crates/hir/src/diagnostics.rs @@ -7,12 +7,3 @@ pub use hir_ty::diagnostics::{ IncorrectCase, MismatchedArgCount, MissingFields, MissingMatchArms, MissingOkOrSomeInTailExpr, NoSuchField, RemoveThisSemicolon, ReplaceFilterMapNextWithFindMap, }; - -// PHIL: -// hir/src/diagnostics.rs - just pub uses the type from hir_ty::diagnostics (DONE) -// hir_ty/src/diagnostics.rs - defines the type (DONE) -// hir_ty/src/diagnostics.rs - plus a test (DONE) <--- one example found, need to copy the not-applicable tests from the assist version -// ide/src/diagnostics.rs - define handler for when this diagnostic is raised (DONE) - -// ide/src/diagnostics/fixes.rs - pulls in type from hir, and impls DiagnosticWithFix (TODO) -// hir_ty/src/diagnostics/expr.rs - do the real work (TODO) -- cgit v1.2.3