Closed

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