diff options
author | Jonas Schievink <[email protected]> | 2020-10-23 18:27:04 +0100 |
---|---|---|
committer | Jonas Schievink <[email protected]> | 2020-10-23 18:27:04 +0100 |
commit | 93dc6f511bedb7c18319bbf3efe47a7db4b2aa53 (patch) | |
tree | c12c45372521a19b24c749e41f7472906afff037 /docs | |
parent | dd8a75b2cf46a967b3449652fe17c19a8fcc4e41 (diff) |
Diagnose #[cfg]s in bodies
Diffstat (limited to 'docs')
-rw-r--r-- | docs/user/generated_diagnostic.adoc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/user/generated_diagnostic.adoc b/docs/user/generated_diagnostic.adoc index ec45d0c2b..0b3cbcdde 100644 --- a/docs/user/generated_diagnostic.adoc +++ b/docs/user/generated_diagnostic.adoc | |||
@@ -82,24 +82,24 @@ This diagnostic is triggered if created structure does not have field provided i | |||
82 | 82 | ||
83 | 83 | ||
84 | === unconfigured-code | 84 | === unconfigured-code |
85 | **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/hir_def/src/diagnostics.rs#L90[diagnostics.rs] | 85 | **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/hir_def/src/diagnostics.rs#L98[diagnostics.rs] |
86 | 86 | ||
87 | This diagnostic is shown for code with inactive `#[cfg]` attributes. | 87 | This diagnostic is shown for code with inactive `#[cfg]` attributes. |
88 | 88 | ||
89 | 89 | ||
90 | === unresolved-extern-crate | 90 | === unresolved-extern-crate |
91 | **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/hir_def/src/diagnostics.rs#L35[diagnostics.rs] | 91 | **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/hir_def/src/diagnostics.rs#L43[diagnostics.rs] |
92 | 92 | ||
93 | This diagnostic is triggered if rust-analyzer is unable to discover referred extern crate. | 93 | This diagnostic is triggered if rust-analyzer is unable to discover referred extern crate. |
94 | 94 | ||
95 | 95 | ||
96 | === unresolved-import | 96 | === unresolved-import |
97 | **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/hir_def/src/diagnostics.rs#L59[diagnostics.rs] | 97 | **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/hir_def/src/diagnostics.rs#L67[diagnostics.rs] |
98 | 98 | ||
99 | This diagnostic is triggered if rust-analyzer is unable to discover imported module. | 99 | This diagnostic is triggered if rust-analyzer is unable to discover imported module. |
100 | 100 | ||
101 | 101 | ||
102 | === unresolved-module | 102 | === unresolved-module |
103 | **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/hir_def/src/diagnostics.rs#L10[diagnostics.rs] | 103 | **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/hir_def/src/diagnostics.rs#L18[diagnostics.rs] |
104 | 104 | ||
105 | This diagnostic is triggered if rust-analyzer is unable to discover referred module. | 105 | This diagnostic is triggered if rust-analyzer is unable to discover referred module. |