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

fix: Fix cycle in visibility computation with modules from the same block #9499

Merged
merged 1 commit into from Jul 5, 2021
Merged

fix: Fix cycle in visibility computation with modules from the same block #9499

merged 1 commit into from Jul 5, 2021

Conversation

jonas-schievink
Copy link
Contributor

fixes #9481

bors r+

@bors
Copy link
Contributor

bors bot commented Jul 5, 2021

@bors bors bot merged commit 169894c into rust-lang:master Jul 5, 2021
let arc;
let to_module_def_map =
if to_module.krate == def_map.krate() && to_module.block == def_map.block_id() {
def_map
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cov-mark?

@jonas-schievink jonas-schievink deleted the fix-vis-block-panic branch July 5, 2021 15:06
bors bot added a commit that referenced this pull request Jul 5, 2021
9501: internal: Add a coverage mark r=jonas-schievink a=jonas-schievink

#9499 (comment)

bors r+

Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Salsa cycle when evaluating block def map
2 participants