rust/src/test/ui/drop
Matthew Jasper ff8c0ef0e4 Fix drop handling for if let expressions
MIR lowering for `if let` expressions is now more complicated now that
`if let` exists in HIR. This PR adds a scope for the variables bound in
an `if let` expression and then uses an approach similar to how we
handle loops to ensure that we reliably drop the correct variables.
2021-09-01 23:47:41 +01:00
..
auxiliary Move some tests to more reasonable directories 2021-01-11 19:49:51 -03:00
drop-if-let-binding.rs Fix drop handling for if let expressions 2021-09-01 23:47:41 +01:00
drop-on-empty-block-exit.rs
drop-on-ret.rs
drop-struct-as-object.rs
drop-trait-enum.rs
drop-trait-generic.rs
drop-trait.rs
drop-uninhabited-enum.rs
drop-with-type-ascription-1.rs
drop-with-type-ascription-2.rs
dropck-eyepatch-extern-crate.rs
dropck-eyepatch-reorder.rs
dropck-eyepatch.rs
dropck_legal_cycles.rs Also fix “a RwLock*” 2021-08-24 02:24:35 +02:00
dynamic-drop-async.rs Revert "Avoid leaking block expression values" 2021-02-04 21:29:49 -05:00
dynamic-drop.rs removed more uses of feature gate 2021-06-04 09:41:55 -07:00
issue-10028.rs Move some tests to more reasonable directories 2021-01-11 19:49:51 -03:00
issue-30018-nopanic.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
no-drop-flag-size.rs
nondrop-cycle.rs