mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Document unlinked-file diagnostic
This commit is contained in:
parent
4a1f5d367d
commit
37c6ce34a9
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue