mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Merge #8189
8189: Document unlinked-file diagnostic r=jonas-schievink a=jonas-schievink fixes https://github.com/rust-analyzer/rust-analyzer/issues/8188 bors r+ Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
This commit is contained in:
commit
aac6285f0b
@ -20,6 +20,10 @@ use crate::Fix;
|
|||||||
|
|
||||||
use super::fixes::DiagnosticWithFix;
|
use super::fixes::DiagnosticWithFix;
|
||||||
|
|
||||||
|
// Diagnostic: unlinked-file
|
||||||
|
//
|
||||||
|
// This diagnostic is shown for files that are not included in any crate, or files that are part of
|
||||||
|
// crates rust-analyzer failed to discover. The file will not have IDE features available.
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub(crate) struct UnlinkedFile {
|
pub(crate) struct UnlinkedFile {
|
||||||
pub(crate) file_id: FileId,
|
pub(crate) file_id: FileId,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user