1
Fork 0

moved note as unspanned note, moved note to the bottom of the msg

This commit is contained in:
nxya 2023-07-18 21:53:34 -04:00
parent e6e8892051
commit a54a66830d
47 changed files with 54 additions and 244 deletions

View file

@ -46,7 +46,6 @@ pub struct CycleUsage {
#[derive(Diagnostic)]
#[diag(query_system_cycle, code = "E0391")]
pub struct Cycle {
#[note]
#[primary_span]
pub span: Span,
pub stack_bottom: String,
@ -58,6 +57,8 @@ pub struct Cycle {
pub alias: Option<Alias>,
#[subdiagnostic]
pub cycle_usage: Option<CycleUsage>,
#[note]
pub note_span: (),
}
#[derive(Diagnostic)]