Skip to content

Allow vector repeat exprs in statics. #8483

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

Closed
wants to merge 2 commits into from
Closed

Conversation

luqmana
Copy link
Member

@luqmana luqmana commented Aug 13, 2013

Fixes #8152.

@huonw
Copy link
Member

huonw commented Aug 13, 2013

I edited the description to include a reference to #8152, which this fixes. (So that GitHub will automatically close that issue.)

bors added a commit that referenced this pull request Aug 15, 2013
@bors bors closed this Aug 15, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Mar 14, 2022
…5,giraffate

Use `.into_iter()` rather than `.drain(..)`

Replacing `.drain(..)` with `.into_iter()` makes my project's binary size smaller.

Fixes rust-lang#1908

Applicability of this suggestion is `MaybeIncorrect` rather than `MachineApplicable` due to the complexity of "checking otherwise usage" X-|

changelog: Add new lint [`iter_with_drain`]
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.

Cannot use [x, .. n] in statics
4 participants