1
Fork 0

UPDATE - rename DiagnosticHandler macro to Diagnostic

This commit is contained in:
Jhonny Bill Mena 2022-09-18 11:46:56 -04:00
parent 191fac6826
commit a3396b2070
34 changed files with 484 additions and 484 deletions

View file

@ -46,7 +46,7 @@ pub struct CycleUsage {
pub usage: String,
}
#[derive(DiagnosticHandler)]
#[derive(Diagnostic)]
#[diag(query_system::cycle, code = "E0391")]
pub struct Cycle {
#[primary_span]
@ -62,11 +62,11 @@ pub struct Cycle {
pub cycle_usage: Option<CycleUsage>,
}
#[derive(DiagnosticHandler)]
#[derive(Diagnostic)]
#[diag(query_system::reentrant)]
pub struct Reentrant;
#[derive(DiagnosticHandler)]
#[derive(Diagnostic)]
#[diag(query_system::increment_compilation)]
#[help]
#[note(query_system::increment_compilation_note1)]