1
Fork 0
rust/compiler/rustc_save_analysis/src/errors.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
210 B
Rust
Raw Normal View History

use rustc_macros::Diagnostic;
2022-08-20 06:40:31 +09:00
use std::path::Path;
#[derive(Diagnostic)]
2022-10-22 11:07:54 +02:00
#[diag(save_analysis_could_not_open)]
2022-08-20 06:40:31 +09:00
pub(crate) struct CouldNotOpen<'a> {
pub file_name: &'a Path,
pub err: std::io::Error,
}