rust/compiler/rustc_resolve
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
..
src Rollup merge of #98419 - WaffleLapkin:remove_excess_rib, r=compiler-errors 2022-06-24 16:43:49 +09:00
Cargo.toml Make ResolverAstLowering a struct. 2022-06-14 22:44:27 +02:00