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

Modernized a few type names in rustc and syntax #8911

Closed
wants to merge 1 commit into from

Conversation

Kimundi
Copy link
Member

@Kimundi Kimundi commented Sep 1, 2013

Most notable: span -> Span

bors added a commit that referenced this pull request Sep 1, 2013
@bors bors closed this Sep 1, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jun 4, 2022
…raffate

needless_late_init: fix ICE when all branches return the never type

Fixes rust-lang#8911

When the assignment is done in a match guard or the if condition and all of the branches return the never type `assignment_suggestions` would return an empty `Vec` which caused the ICE. It now returns `None` in that scenario

Also moves some tests to the top of the file

changelog: ICE Fixes: [`needless_late_init`] rust-lang#8911
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.

None yet

3 participants