From 5350c15e27bfb85d2e7ae3eae0e624197f2b9a70 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Fri, 23 Oct 2020 19:31:11 +0200 Subject: Fix name of InactiveCode diagnostic --- docs/user/generated_diagnostic.adoc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'docs/user') diff --git a/docs/user/generated_diagnostic.adoc b/docs/user/generated_diagnostic.adoc index 0b3cbcdde..34c4f98a3 100644 --- a/docs/user/generated_diagnostic.adoc +++ b/docs/user/generated_diagnostic.adoc @@ -5,6 +5,12 @@ This diagnostic is triggered if `break` keyword is used outside of a loop. +=== inactive-code +**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/hir_def/src/diagnostics.rs#L98[diagnostics.rs] + +This diagnostic is shown for code with inactive `#[cfg]` attributes. + + === incorrect-ident-case **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/hir_ty/src/diagnostics.rs#L319[diagnostics.rs] @@ -81,12 +87,6 @@ This diagnostic is triggered if operation marked as `unsafe` is used outside of This diagnostic is triggered if created structure does not have field provided in record. -=== unconfigured-code -**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/hir_def/src/diagnostics.rs#L98[diagnostics.rs] - -This diagnostic is shown for code with inactive `#[cfg]` attributes. - - === unresolved-extern-crate **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/hir_def/src/diagnostics.rs#L43[diagnostics.rs] -- cgit v1.2.3