Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions tests/run-pass/2phase.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,6 @@ fn two_phase_overlapping2() {
}
*/

fn match_two_phase() {
let mut x = 3;
match x {
ref mut y if { let _val = x; let _val = *y; true } => {},
_ => (),
}
}

fn with_interior_mutability() {
use std::cell::Cell;

Expand All @@ -76,7 +68,6 @@ fn main() {
two_phase2();
two_phase3(false);
two_phase3(true);
match_two_phase();
with_interior_mutability();
//FIXME: enable these, or remove them, depending on how https://github.com/rust-lang/rust/issues/56254 gets resolved
//two_phase_overlapping1();
Expand Down