rust/compiler/rustc_resolve
Matthias Krüger d502b1c8e4
Rollup merge of #129270 - compiler-errors:inner-generics-shadowing, r=petrochenkov
Don't consider locals to shadow inner items' generics

We don't want to consider the bindings from a `RibKind::Module` itself, because for an inner item that module will contain the local bindings from the function body or wherever else the inner item is being defined.

Fixes #129265

r? petrochenkov
2024-08-20 22:21:57 +02:00
..
src Rollup merge of #129270 - compiler-errors:inner-generics-shadowing, r=petrochenkov 2024-08-20 22:21:57 +02:00
Cargo.toml rustdoc: update to pulldown-cmark 0.11 2024-06-30 18:33:48 -07:00
messages.ftl When finding item gated behind a cfg flat, point at it 2024-07-12 18:52:52 +00:00