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

Remove enum struct return workaround from LLVM bindings. #10684

Merged
merged 1 commit into from
Nov 27, 2013

Conversation

jld
Copy link
Contributor

@jld jld commented Nov 27, 2013

No description provided.

@bors bors closed this Nov 27, 2013
@bors bors merged commit 57c1a01 into rust-lang:master Nov 27, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jun 30, 2023
[`redundant_closure`]: special case inclusive ranges

Fixes rust-lang#10684.

`x..=y` ranges need a bit of special handling in this lint because it desugars to a call to the lang item `RangeInclusiveNew`, where the callee span would be the same as the range expression itself, so the suggestion looked a bit weird. It now correctly suggests `RangeInclusive::new`.

changelog: [`redundant_closure`]: special case `RangeInclusive`
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.

3 participants