diff options
Diffstat (limited to 'src/test/ui/closures/2229_closure_analysis/run_pass/drop_then_use_fake_reads.rs')
-rw-r--r-- | src/test/ui/closures/2229_closure_analysis/run_pass/drop_then_use_fake_reads.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/closures/2229_closure_analysis/run_pass/drop_then_use_fake_reads.rs b/src/test/ui/closures/2229_closure_analysis/run_pass/drop_then_use_fake_reads.rs deleted file mode 100644 index 477fdd613..000000000 --- a/src/test/ui/closures/2229_closure_analysis/run_pass/drop_then_use_fake_reads.rs +++ /dev/null @@ -1,11 +0,0 @@ -// edition:2021 -// check-pass -#![feature(rustc_attrs)] - -fn main() { - let mut x = 1; - let c = || { - drop(&mut x); - match x { _ => () } - }; -} |