added links as a note
This commit is contained in:
parent
c429a72db9
commit
bef91ee687
51 changed files with 306 additions and 56 deletions
|
@ -1,4 +1,5 @@
|
|||
query_system_cycle = cycle detected when {$stack_bottom}. see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information.
|
||||
query_system_cycle = cycle detected when {$stack_bottom}
|
||||
.note = see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
|
||||
|
||||
query_system_cycle_recursive_trait_alias = trait aliases cannot be recursive
|
||||
|
||||
|
|
|
@ -46,6 +46,7 @@ pub struct CycleUsage {
|
|||
#[derive(Diagnostic)]
|
||||
#[diag(query_system_cycle, code = "E0391")]
|
||||
pub struct Cycle {
|
||||
#[note]
|
||||
#[primary_span]
|
||||
pub span: Span,
|
||||
pub stack_bottom: String,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue