Auto merge of #113622 - RickleAndMortimer:issue-113184-fix, r=oli-obk

add links to query documentation for E0391

This PR adds links to https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for the rustc --explain E0391 and within the compiler error itself.

Fixes: #113184
This commit is contained in:
bors
2023-07-20 03:18:41 +00:00
52 changed files with 62 additions and 0 deletions

View File

@@ -608,6 +608,7 @@ pub(crate) fn report_cycle<'a, D: DepKind>(
alias,
cycle_usage: cycle_usage,
stack_count,
note_span: (),
};
cycle_diag.into_diagnostic(&sess.parse_sess.span_diagnostic)