From 40638b16c8c014d4d226d25f05ad19b16827cb98 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Mon, 15 Mar 2021 01:46:59 +0100 Subject: Use pub(crate) --- crates/ide/src/diagnostics/unlinked_file.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/ide/src') diff --git a/crates/ide/src/diagnostics/unlinked_file.rs b/crates/ide/src/diagnostics/unlinked_file.rs index f6dc671b9..37d32f1a6 100644 --- a/crates/ide/src/diagnostics/unlinked_file.rs +++ b/crates/ide/src/diagnostics/unlinked_file.rs @@ -19,9 +19,9 @@ use crate::Fix; use super::fixes::DiagnosticWithFix; #[derive(Debug)] -pub struct UnlinkedFile { - pub file_id: FileId, - pub node: SyntaxNodePtr, +pub(crate) struct UnlinkedFile { + pub(crate) file_id: FileId, + pub(crate) node: SyntaxNodePtr, } impl Diagnostic for UnlinkedFile { -- cgit v1.2.3