Closed
Description
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
Metadata
Metadata
Assignees
Labels
Area: Makes things more difficult for new or seasoned contributors to RustArea: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html)Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Relevant to the compiler team, which will review and decide on the PR/issue.