From bec5123b0a688ad8d05531838cb9443ceac7ced3 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Fri, 24 Jul 2020 17:38:33 +0200 Subject: Mark MismatchedArgCount as experimental --- crates/ra_hir_ty/src/diagnostics.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/ra_hir_ty/src/diagnostics.rs b/crates/ra_hir_ty/src/diagnostics.rs index a9877d867..885abbaf2 100644 --- a/crates/ra_hir_ty/src/diagnostics.rs +++ b/crates/ra_hir_ty/src/diagnostics.rs @@ -234,6 +234,9 @@ impl Diagnostic for MismatchedArgCount { fn as_any(&self) -> &(dyn Any + Send + 'static) { self } + fn is_experimental(&self) -> bool { + true + } } impl AstDiagnostic for MismatchedArgCount { -- cgit v1.2.3