rust/compiler/rustc_save_analysis/src/errors.rs
2022-08-24 06:50:16 +09:00

11 lines
225 B
Rust

use rustc_macros::SessionDiagnostic;
use std::path::Path;
#[derive(SessionDiagnostic)]
#[diag(save_analysis::could_not_open)]
pub(crate) struct CouldNotOpen<'a> {
pub file_name: &'a Path,
pub err: std::io::Error,
}