Remove iter::Empty hack#103945
Merged
Conversation
Collaborator
|
(rustbot has picked a reviewer for you, use r? to override) |
Collaborator
|
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
Contributor
|
Looks good. r? @compiler-errors @bors r+ cc #92630 which added this hack |
Collaborator
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Dec 28, 2022
…fee1-dead Rollup of 9 pull requests Successful merges: - rust-lang#94145 (Test leaking of BinaryHeap Drain iterators) - rust-lang#103945 (Remove `iter::Empty` hack) - rust-lang#104024 (Fix `unused_must_use` warning for `Box::from_raw`) - rust-lang#104708 (Fix backoff doc to match implementation) - rust-lang#105347 (Account for `match` expr in single line) - rust-lang#105484 (Implement allow-by-default `multiple_supertrait_upcastable` lint) - rust-lang#106184 (Fix `core::any` docs) - rust-lang#106201 (Emit fewer errors on invalid `#[repr(transparent)]` on `enum`) - rust-lang#106205 (Remove some totally duplicated files in `rustc_infer`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
iter::Emptyuses a newtype to work around#![feature(const_fn_fn_ptr_basics)], which has been stable since 1.61.0.