summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_save_analysis/src/errors.rs
blob: 585aac8c1c3cc034fabcde0ea890a4e7c1ddb32c (plain)
1
2
3
4
5
6
7
8
9
10
use rustc_macros::Diagnostic;

use std::path::Path;

#[derive(Diagnostic)]
#[diag(save_analysis_could_not_open)]
pub(crate) struct CouldNotOpen<'a> {
    pub file_name: &'a Path,
    pub err: std::io::Error,
}