-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Fix typo bug in DepGraph::try_mark_green(). #57698
Conversation
@@ -600,7 +600,7 @@ impl DepGraph { | |||
DepKind::Hir | | |||
DepKind::HirBody | | |||
DepKind::CrateMetadata => { | |||
if dep_node.extract_def_id(tcx).is_none() { | |||
if dep_dep_node.extract_def_id(tcx).is_none() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One could argue, that the parameter name is not very well choosen :/ Maybe one should address as well in a next patch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might make sense to rename dep_dep_node
to dep_node_of_dependency
or something like that, yeah.
@bors r+ Do we need to backport this to beta too? |
📌 Commit 3884cc8 has been approved by |
@Zoxc probably, |
Yes, let's backport it. |
Fix typo bug in DepGraph::try_mark_green(). r? @Zoxc Fixes rust-lang#57692.
Fix typo bug in DepGraph::try_mark_green(). r? @Zoxc Fixes rust-lang#57692.
Fix typo bug in DepGraph::try_mark_green(). r? @Zoxc Fixes rust-lang#57692.
Rollup of 10 pull requests Successful merges: - #57268 (Add a target option "merge-functions", and a corresponding -Z flag (works around #57356)) - #57476 (Move glob map use to query and get rid of CrateAnalysis) - #57501 (High priority resolutions for associated variants) - #57573 (Querify `entry_fn`) - #57610 (Fix nested `?` matchers) - #57634 (Remove an unused function argument) - #57653 (Make the contribution doc reference the guide more) - #57666 (Generalize `huge-enum.rs` test and expected stderr for more cross platform cases) - #57698 (Fix typo bug in DepGraph::try_mark_green().) - #57746 (Update README.md) Failed merges: r? @ghost
discussed at T-compiler meeting. beta-accepted. |
r? @Zoxc
Fixes #57692.