rust/compiler/rustc_passes
bors cebc8fef5f Auto merge of #82951 - sexxi-goose:wr-mir-replace-methods2, r=nikomatsakis
Replace closures_captures and upvar_capture with closure_min_captures

Removed all uses of closures_captures and upvar_capture and refactored code to work with closure_min_captures. This also involved removing functions that were no longer needed like the bridge.

Closes https://github.com/rust-lang/project-rfc-2229/issues/18
r? `@nikomatsakis`
2021-03-19 18:23:44 +00:00
..
src Auto merge of #82951 - sexxi-goose:wr-mir-replace-methods2, r=nikomatsakis 2021-03-19 18:23:44 +00:00
Cargo.toml Use pretty-printer instead of span_to_snippet 2021-03-14 14:39:25 -07:00