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

add span to desugar and conv_resolved_lifetime #972

Merged
merged 2 commits into from
Jan 24, 2025

Conversation

Zn2FePO424H2O
Copy link
Contributor

In conv_resolved_lifetime for LateBound, the old code is doing an unwrap when getting depth. In the new code, if getting depth failed, it will call a span_bug!().

In desugar, the old code calls bug!() for all unsupported nodes. In the new code, it will call span_bug!() when the node.ident.span exist.

Copy link
Member

@nilehmann nilehmann left a comment

Choose a reason for hiding this comment

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

This looks good

@nilehmann nilehmann merged commit 8e93f1c into flux-rs:main Jan 24, 2025
6 checks passed
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.

2 participants