UPDATE - rename DiagnosticHandler macro to Diagnostic
This commit is contained in:
parent
191fac6826
commit
a3396b2070
34 changed files with 484 additions and 484 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue