mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-23 21:54:16 +00:00
This performs a substitution of code following the pattern:
let <id> = if let <pat> = ... { identity } else { ... : ! };
To simplify it to:
let <pat> = ... { identity } else { ... : ! };
By adopting the let_else feature.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.