Skip to content

fix: complete .let on block tail prefix expression#21600

Merged
ChayimFriedman2 merged 1 commit intorust-lang:masterfrom
A4-Tacks:let-in-prefix
Feb 18, 2026
Merged

fix: complete .let on block tail prefix expression#21600
ChayimFriedman2 merged 1 commit intorust-lang:masterfrom
A4-Tacks:let-in-prefix

Conversation

@A4-Tacks
Copy link
Member

@A4-Tacks A4-Tacks commented Feb 7, 2026

Example

fn main() { &baz.l$0 }

Before this PR

sn if if expr {} sn match match expr {} 

After this PR

sn if if expr {} sn let let sn letm let mut sn match match expr {} 
Example --- ```rust fn main() { &baz.l$0 } ``` **Before this PR** ```text sn if if expr {} sn match match expr {} ``` **After this PR** ```text sn if if expr {} sn let let sn letm let mut sn match match expr {} ```
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 7, 2026
@ChayimFriedman2 ChayimFriedman2 added this pull request to the merge queue Feb 18, 2026
Merged via the queue into rust-lang:master with commit 715ce30 Feb 18, 2026
15 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 18, 2026
@A4-Tacks A4-Tacks deleted the let-in-prefix branch February 18, 2026 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants