rust/compiler/rustc_resolve/src
Yuki Okushi 5e98e55668
Rollup merge of #98419 - WaffleLapkin:remove_excess_rib, r=compiler-errors
Remove excess rib while resolving closures

I've mentioned this on [zulip](https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/.60ClosureOrAsyncRibKind.60.20weirdness/near/286982959), in `rustc_resolve`, while resolving closures we add an excess `ClosureOrAsyncRibKind`. It's excess because we later add another one in `visit_fn`.

I couldn't find a way in which removing this will break anything, all test seem to pass, etc.

r? ``@compiler-errors``
cc ``@davidtwco``
2022-06-24 16:43:49 +09:00
..
diagnostics
late Auto merge of #98279 - cjgillot:all-fresh-nofn, r=petrochenkov 2022-06-22 10:48:58 +00:00
access_levels.rs Make ResolverAstLowering a struct. 2022-06-14 22:44:27 +02:00
build_reduced_graph.rs Auto merge of #98106 - cjgillot:split-definitions, r=michaelwoerister 2022-06-17 10:00:11 +00:00
check_unused.rs Make ResolverAstLowering a struct. 2022-06-14 22:44:27 +02:00
def_collector.rs Make ResolverAstLowering a struct. 2022-06-14 22:44:27 +02:00
diagnostics.rs Mention what item is using an invalid Self type 2022-06-19 19:43:40 -07:00
ident.rs Provide a segment res in more cases 2022-06-20 21:27:42 -07:00
imports.rs implement MacroData 2022-06-15 00:31:21 +09:00
late.rs Remove excess rib while resolving closures 2022-06-23 12:21:23 +04:00
lib.rs Auto merge of #98106 - cjgillot:split-definitions, r=michaelwoerister 2022-06-17 10:00:11 +00:00
macros.rs Auto merge of #98106 - cjgillot:split-definitions, r=michaelwoerister 2022-06-17 10:00:11 +00:00