rust/compiler/rustc_resolve
dianne 30a0ac66db delay introducing pattern bindings into scope
This splits introduction of bindings into scope
(`apply_pattern_bindings`) apart from manipulation of the pattern's
binding map (`fresh_binding`). By delaying the latter, we can keep
bindings from appearing in-scope in guards.

Since `fresh_binding` is now specifically for manipulating a pattern's
bindings map, this commit also inlines a use of `fresh_binding` that was
only adding to the innermost rib.
2025-05-07 06:47:16 -07:00
..
src delay introducing pattern bindings into scope 2025-05-07 06:47:16 -07:00
Cargo.toml Avoid a reverse map that is only used in diagnostics paths 2025-04-11 09:33:38 +00:00
messages.ftl resolve: Support imports of associated types and glob imports from traits 2025-05-02 15:59:38 +03:00