mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-31 09:04:18 +00:00
f044c6c86c
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 |