about summary refs log tree commit diff
path: root/src/test/ui/nll/enum-drop-access.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-49/+0
2019-09-26remove feature(nll) in more cases.Mazdak Farrokhzad-2/+0
2018-09-23Rework checking for borrows conflicting with dropsMatthew Jasper-0/+51
Previously, we would split the drop access into multiple checks for each field of a struct/tuple/closure and through `Box` dereferences. This changes this to check if the borrow is accessed by the drop in places_conflict. This also allows us to handle enums in a simpler way, since we don't have to construct any new places.