From d368ac023b69a6354dcb720ff82b78dbbd0461c8 Mon Sep 17 00:00:00 2001 From: Jakub Doka Date: Sat, 30 Nov 2024 16:49:42 +0100 Subject: [PATCH] making error fields public Signed-off-by: Jakub Doka --- lang/src/fs.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/src/fs.rs b/lang/src/fs.rs index 2ca576249..453bc6d52 100644 --- a/lang/src/fs.rs +++ b/lang/src/fs.rs @@ -242,8 +242,8 @@ pub type PathResolver<'a> = #[derive(Debug)] pub struct CantLoadFile { - path: PathBuf, - source: io::Error, + pub path: PathBuf, + pub source: io::Error, } impl core::fmt::Display for CantLoadFile {