making error fields public

Signed-off-by: Jakub Doka <jakub.doka2@gmail.com>
This commit is contained in:
Jakub Doka 2024-11-30 16:49:42 +01:00
parent 8ea6c5cfcc
commit d368ac023b
No known key found for this signature in database
GPG key ID: C6E9A89936B8C143

View file

@ -242,8 +242,8 @@ pub type PathResolver<'a> =
#[derive(Debug)] #[derive(Debug)]
pub struct CantLoadFile { pub struct CantLoadFile {
path: PathBuf, pub path: PathBuf,
source: io::Error, pub source: io::Error,
} }
impl core::fmt::Display for CantLoadFile { impl core::fmt::Display for CantLoadFile {