moved note as unspanned note, moved note to the bottom of the msg
This commit is contained in:
parent
e6e8892051
commit
a54a66830d
47 changed files with 54 additions and 244 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue