-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Replace ConstFnMutClosure
with const closures
#107551
Replace ConstFnMutClosure
with const closures
#107551
Conversation
r? @m-ou-se (rustbot has picked a reviewer for you, use r? to override) |
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
8267615
to
f4e0ea7
Compare
@bors r+ |
⌛ Testing commit f4e0ea7 with merge fa6f30a9716c0b6f20cf32f4b350a81977ee70d2... |
💔 Test failed - checks-actions |
@bors retry CI was broken |
…elper, r=oli-obk Replace `ConstFnMutClosure` with const closures Also fixes a parser bug. cc `@oli-obk` for compiler changes
This comment has been minimized.
This comment has been minimized.
@bors retry |
library/core/src/option.rs
Outdated
@@ -1969,7 +1969,8 @@ impl<T> const Default for Option<T> { | |||
} | |||
|
|||
#[stable(feature = "rust1", since = "1.0.0")] | |||
impl<T> IntoIterator for Option<T> { | |||
#[rustc_const_unstable(feature = "const_iter", issue = "92476")] | |||
impl<T> const IntoIterator for Option<T> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this included in this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, thanks.
@bors r- |
f4e0ea7
to
b886a4d
Compare
@bors r=oli-obk |
…mpiler-errors Rollup of 8 pull requests Successful merges: - rust-lang#106887 (Make const/fn return params more suggestable) - rust-lang#107519 (Add type alias for raw OS errors) - rust-lang#107551 ( Replace `ConstFnMutClosure` with const closures ) - rust-lang#107595 (Retry opening proc-macro DLLs a few times on Windows.) - rust-lang#107615 (Replace nbsp in all rustdoc code blocks) - rust-lang#107621 (Intern external constraints in new solver) - rust-lang#107631 (loudly tell people when they change `Cargo.lock`) - rust-lang#107632 (Clarifying that .map() returns None if None.) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Also fixes a parser bug. cc @oli-obk for compiler changes