mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-10 17:07:36 +00:00
![]() Visit expressions in-order when resolving pattern bindings [edited:] Visit the pattern's sub-expressions before defining any bindings. Otherwise, we might get into a case where a Lit/Range expression in a pattern has a qpath pointing to a Ident pattern that is defined after it, causing an ICE when lowering to HIR. I have a more detailed explanation in the issue linked. Fixes #92100 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |