Skip to content

Conversation

mejrs
Copy link
Contributor

@mejrs mejrs commented Mar 30, 2025

The example shows an exhaustive match:

#![feature(exhaustive_patterns)]
use std::str::FromStr;
let Ok(s) = String::from_str("hello");

But #119612 moved this functionality to #![feature(min_exhaustive_patterns) and then stabilized it.

@rustbot
Copy link
Collaborator

rustbot commented Mar 30, 2025

r? @Noratrieb

rustbot has assigned @Noratrieb.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Mar 30, 2025
@Noratrieb
Copy link
Member

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Mar 31, 2025

📌 Commit 73d33ed has been approved by Noratrieb

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 31, 2025
bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 31, 2025
…iaskrgr

Rollup of 6 pull requests

Successful merges:

 - rust-lang#138176 (Prefer built-in sized impls (and only sized impls) for rigid types always)
 - rust-lang#138749 (Fix closure recovery for missing block when return type is specified)
 - rust-lang#138842 (Emit `unused_attributes` for `#[inline]` on exported functions)
 - rust-lang#139153 (Encode synthetic by-move coroutine body with a different `DefPathData`)
 - rust-lang#139157 (Remove mention of `exhaustive_patterns` from `never` docs)
 - rust-lang#139167 (Remove Amanieu from the libs review rotation)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 6cf2d18 into rust-lang:master Mar 31, 2025
6 checks passed
@rustbot rustbot added this to the 1.88.0 milestone Mar 31, 2025
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Mar 31, 2025
Rollup merge of rust-lang#139157 - mejrs:never, r=Noratrieb

Remove mention of `exhaustive_patterns` from `never` docs

The example shows an exhaustive match:
```rust
#![feature(exhaustive_patterns)]
use std::str::FromStr;
let Ok(s) = String::from_str("hello");
```
But rust-lang#119612 moved this functionality to `#![feature(min_exhaustive_patterns)` and then stabilized it.
github-actions bot pushed a commit to model-checking/verify-rust-std that referenced this pull request Apr 2, 2025
Remove mention of `exhaustive_patterns` from `never` docs

The example shows an exhaustive match:
```rust
#![feature(exhaustive_patterns)]
use std::str::FromStr;
let Ok(s) = String::from_str("hello");
```
But rust-lang#119612 moved this functionality to `#![feature(min_exhaustive_patterns)` and then stabilized it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants