Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure we only feed def ids via create_def or within eval_always queries #121080

Closed
wants to merge 1 commit into from

Conversation

oli-obk
Copy link
Contributor

@oli-obk oli-obk commented Feb 14, 2024

feeding def ids from queries other than the one that created them is very fragile and requires documentation at each site... unless the query is eval_always, then it will just get rerun every single time.

At least I think so. Or do eval_always queries not get rerun if all their inputs are green and their output is not needed?

r? @cjgillot

@rustbot rustbot added A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Feb 14, 2024
@oli-obk
Copy link
Contributor Author

oli-obk commented Feb 14, 2024

Superseded by #121089 which just removes feed_local_def_id

@oli-obk oli-obk closed this Feb 14, 2024
@oli-obk oli-obk deleted the feeding_stuff branch February 14, 2024 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants