Skip to content

Conversation

@arora-aman
Copy link
Member

No description provided.

jenniferwills and others added 3 commits March 9, 2021 15:56
make changes to liveness to use closure_min_captures

use different span

borrow check uses new structures

rename to CapturedPlace

stop using upvar_capture in regionck

remove the bridge

cleanup from rebase + remove the upvar_capture reference from mutability_errors.rs

remove line from livenes test

make our unused var checking more consistent

update tests

adding more warnings to the tests

move is_ancestor_or_same_capture to rustc_middle/ty

update names to reflect the closures

add FIXME

check that all captures are immutable borrows before returning

add surrounding if statement like the original

move var out of the loop and rename

Co-authored-by: Logan Mosier <[email protected]>
Co-authored-by: Roxane Fruytier <[email protected]>
@arora-aman arora-aman force-pushed the wr-mir-replace-methods2 branch from a54eefb to 88db752 Compare March 19, 2021 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants