link to the rustc-dev-guide on cycle errors #113184
Labels
A-contributor-roadblock
Area: Makes things more difficult for new contributors to rust itself
A-query-system
Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html)
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
right now, new contributors to the compiler can be easily confused by the cycle error - queries are not common in other production compilers (that i know of) and i think it would make it a lot easier to understand if we linked to the docs: https://rustc-dev-guide.rust-lang.org/overview.html#queries / https://rustc-dev-guide.rust-lang.org/query.html
the error reporting has changed a bit since i last looked at it, but i think
rust/compiler/rustc_query_system/src/error.rs
Lines 46 to 60 in a7838d8
cc @jieyouxu
The text was updated successfully, but these errors were encountered: