moved note as unspanned note, moved note to the bottom of the msg
This commit is contained in:
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user