summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_save_analysis/src/errors.rs
blob: f0ce41d02a6fb2d2a1b3029d220fdbbf6a82c806 (plain)
1
2
3
4
5
6
7
8
9
10
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,
}