Skip to content

Commit aac6285

Browse files
Merge #8189
8189: Document unlinked-file diagnostic r=jonas-schievink a=jonas-schievink fixes #8188 bors r+ Co-authored-by: Jonas Schievink <[email protected]>
2 parents 4a1f5d3 + 37c6ce3 commit aac6285

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crates/ide/src/diagnostics/unlinked_file.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ use crate::Fix;
2020

2121
use super::fixes::DiagnosticWithFix;
2222

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.
2327
#[derive(Debug)]
2428
pub(crate) struct UnlinkedFile {
2529
pub(crate) file_id: FileId,

0 commit comments

Comments
 (0)