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

correct span for structs with const generics #5669

Merged
merged 1 commit into from
Jan 23, 2023

Conversation

calebcartwright
Copy link
Member

Fixes #5668

r? @ytmimi

Working on doing a sync today but wanted to get this trivial fix in as part of it. Should be able to start cranking through the backlog of PRs afterwards

Copy link
Contributor

@ytmimi ytmimi left a comment

Choose a reason for hiding this comment

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

Changes look good. It makes sense that we'd want to use span_before_last instead of span_before in this case.

@ytmimi ytmimi merged commit aae222c into rust-lang:master Jan 23, 2023
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.

comment in const generic default causes line duplication
2 participants