-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
T-langRelevant to the language team, which will review and decide on the RFC.Relevant to the language team, which will review and decide on the RFC.

Description
Sometimes, a construct like the following one is used.
let a = {
let b = ...;
// ...
};
I think it would look prettier with if let
(it's also idiomatic in many lisps)
let a = if let b = ... {
// ...
};
But rust can likely fail with either https://doc.rust-lang.org/error-index.html#E0317 or https://doc.rust-lang.org/error-index.html#E0162 if in the place of ...
we have a known value
burdgesIxrec, scottmcm and jbayardo
Metadata
Metadata
Assignees
Labels
T-langRelevant to the language team, which will review and decide on the RFC.Relevant to the language team, which will review and decide on the RFC.