2022-09-18 11:46:56 -04:00
|
|
|
use rustc_macros::Diagnostic;
|
2022-08-20 06:40:31 +09:00
|
|
|
|
|
|
|
use std::path::Path;
|
|
|
|
|
2022-09-18 11:46:56 -04:00
|
|
|
#[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,
|
|
|
|
}
|