Skip to content

Commit 2f1fb6d

Browse files
committed
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
2 parents 39196ed + 83c9765 commit 2f1fb6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/fail/layout_cycle.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ error[E0391]: cycle detected when computing layout of `S<S<()>>`
22
|
33
= note: ...which requires computing layout of `<S<()> as Tr>::I`...
44
= note: ...which again requires computing layout of `S<S<()>>`, completing the cycle
5+
= 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
56

67
error: post-monomorphization error: a cycle occurred during layout computation
78
--> RUSTLIB/core/src/mem/mod.rs:LL:CC

0 commit comments

Comments
 (0)