1
Fork 0

added links as a note

This commit is contained in:
nxya 2023-07-12 22:59:01 -04:00
parent c429a72db9
commit bef91ee687
51 changed files with 306 additions and 56 deletions

View file

@ -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

View file

@ -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,