aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ide/src')
-rw-r--r--crates/ide/src/diagnostics/unlinked_file.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/ide/src/diagnostics/unlinked_file.rs b/crates/ide/src/diagnostics/unlinked_file.rs
index c5741bf6b..019b0b440 100644
--- a/crates/ide/src/diagnostics/unlinked_file.rs
+++ b/crates/ide/src/diagnostics/unlinked_file.rs
@@ -20,6 +20,10 @@ use crate::Fix;
20 20
21use super::fixes::DiagnosticWithFix; 21use super::fixes::DiagnosticWithFix;
22 22
23// Diagnostic: unlinked-file
24//
25// This diagnostic is shown for files that are not included in any crate, or files that are part of
26// crates rust-analyzer failed to discover. The file will not have IDE features available.
23#[derive(Debug)] 27#[derive(Debug)]
24pub(crate) struct UnlinkedFile { 28pub(crate) struct UnlinkedFile {
25 pub(crate) file_id: FileId, 29 pub(crate) file_id: FileId,