UPDATE - rename DiagnosticHandler trait to IntoDiagnostic
This commit is contained in:
parent
5b8152807c
commit
19b348fed4
46 changed files with 659 additions and 584 deletions
|
@ -1,8 +1,8 @@
|
|||
use rustc_macros::SessionDiagnostic;
|
||||
use rustc_macros::DiagnosticHandler;
|
||||
|
||||
use std::path::Path;
|
||||
|
||||
#[derive(SessionDiagnostic)]
|
||||
#[derive(DiagnosticHandler)]
|
||||
#[diag(save_analysis::could_not_open)]
|
||||
pub(crate) struct CouldNotOpen<'a> {
|
||||
pub file_name: &'a Path,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue