Skip to content

Allow vector repeat exprs in statics.#8483

Closed
luqmana wants to merge 2 commits intorust-lang:masterfrom
luqmana:rexprs
Closed

Allow vector repeat exprs in statics.#8483
luqmana wants to merge 2 commits intorust-lang:masterfrom
luqmana:rexprs

Conversation

@luqmana
Copy link
Contributor

@luqmana luqmana commented Aug 13, 2013

Fixes #8152.

@huonw
Copy link
Contributor

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