Skip to content

Use let...else consistently in user-facing diagnostics - #149255

Merged
bors merged 1 commit into
rust-lang:mainfrom
reddevilmidzy:let-else
Nov 24, 2025
Merged

Use let...else consistently in user-facing diagnostics#149255
bors merged 1 commit into
rust-lang:mainfrom
reddevilmidzy:let-else

Conversation

@reddevilmidzy

@reddevilmidzyreddevilmidzy commented Nov 24, 2025

Copy link
Copy Markdown
Member

resolve: #148772

Standardize let...else terminology in user-facing diagnostics.

Goal: Consistently use let...else in all error/warning messages.

Internal technical names (let-else) in comments and documentation remain unchanged.

cc @carols10cents, @jieyouxu

@rustbotrustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Nov 24, 2025
@rustbot

Copy link
Copy Markdown
Collaborator

r? @fee1-dead

rustbot has assigned @fee1-dead.
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

@Kivooeo

Copy link
Copy Markdown
Member

thanks

@bors r+ rollup

@bors

bors commented Nov 24, 2025

Copy link
Copy Markdown
Collaborator

📌 Commit d3e4dd2 has been approved by Kivooeo

It is now in the queue for this repository.

@borsbors 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 Nov 24, 2025
@KivooeoKivooeo assigned Kivooeo and unassigned fee1-deadNov 24, 2025
Zalathar added a commit to Zalathar/rust that referenced this pull request Nov 24, 2025
Use `let...else` consistently in user-facing diagnostics
resolve: rust-lang#148772
Standardize `let...else` terminology in user-facing diagnostics.
Goal: Consistently use `let...else` in all error/warning messages.
Internal technical names (`let-else`) in comments and documentation remain unchanged.
cc `@carols10cents,` `@jieyouxu`
@ZalatharZalathar mentioned this pull request Nov 24, 2025
bors added a commit that referenced this pull request Nov 24, 2025
Rollup of 3 pull requests
Successful merges:
- #148122 (Make deref_nullptr deny by default instead of warn)
- #148234 (rustdoc: make mergeable crate info more usable)
- #149255 (Use `let...else` consistently in user-facing diagnostics)
r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit that referenced this pull request Nov 24, 2025
Rollup of 6 pull requests
Successful merges:
- #148234 (rustdoc: make mergeable crate info more usable)
- #149201 (Add suggest alternatives for Out-of-range \x escapes)
- #149208 ([rustdoc] Make more functions return `fmt::Result` and reduce number of `.unwrap()` calls)
- #149252 (miri: use `tikv-jemalloc-sys` from sysroot)
- #149255 (Use `let...else` consistently in user-facing diagnostics)
- #149275 (Fix missing double-quote in `std::env::consts::OS` values)
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 738e872 into rust-lang:mainNov 24, 2025
11 checks passed
@rustbotrustbot added this to the 1.93.0 milestone Nov 24, 2025
rust-timer added a commit that referenced this pull request Nov 24, 2025
Rollup merge of #149255 - reddevilmidzy:let-else, r=Kivooeo
Use `let...else` consistently in user-facing diagnostics
resolve: #148772
Standardize `let...else` terminology in user-facing diagnostics.
Goal: Consistently use `let...else` in all error/warning messages.
Internal technical names (`let-else`) in comments and documentation remain unchanged.
cc ``@carols10cents,`` ``@jieyouxu``
@reddevilmidzy
reddevilmidzy deleted the let-else branch November 25, 2025 00:18
github-actionsBot pushed a commit to rust-lang/miri that referenced this pull request Nov 25, 2025
Rollup of 6 pull requests
Successful merges:
- rust-lang/rust#148234 (rustdoc: make mergeable crate info more usable)
- rust-lang/rust#149201 (Add suggest alternatives for Out-of-range \x escapes)
- rust-lang/rust#149208 ([rustdoc] Make more functions return `fmt::Result` and reduce number of `.unwrap()` calls)
- rust-lang/rust#149252 (miri: use `tikv-jemalloc-sys` from sysroot)
- rust-lang/rust#149255 (Use `let...else` consistently in user-facing diagnostics)
- rust-lang/rust#149275 (Fix missing double-quote in `std::env::consts::OS` values)
r? `@ghost`
`@rustbot` modify labels: rollup
github-actionsBot pushed a commit to rust-lang/rust-analyzer that referenced this pull request Nov 27, 2025
Rollup of 6 pull requests
Successful merges:
- rust-lang/rust#148234 (rustdoc: make mergeable crate info more usable)
- rust-lang/rust#149201 (Add suggest alternatives for Out-of-range \x escapes)
- rust-lang/rust#149208 ([rustdoc] Make more functions return `fmt::Result` and reduce number of `.unwrap()` calls)
- rust-lang/rust#149252 (miri: use `tikv-jemalloc-sys` from sysroot)
- rust-lang/rust#149255 (Use `let...else` consistently in user-facing diagnostics)
- rust-lang/rust#149275 (Fix missing double-quote in `std::env::consts::OS` values)
r? `@ghost`
`@rustbot` modify labels: rollup
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error/warning messages should consistently use let...else

5 participants

@reddevilmidzy@rustbot@Kivooeo@bors@fee1-dead