We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fa4c040 + 5a8a153 commit 724be29Copy full SHA for 724be29
tests/run-pass/2phase.rs
@@ -43,14 +43,6 @@ fn two_phase_overlapping2() {
43
}
44
*/
45
46
-fn match_two_phase() {
47
- let mut x = 3;
48
- match x {
49
- ref mut y if { let _val = x; let _val = *y; true } => {},
50
- _ => (),
51
- }
52
-}
53
-
54
fn with_interior_mutability() {
55
use std::cell::Cell;
56
@@ -76,7 +68,6 @@ fn main() {
76
68
two_phase2();
77
69
two_phase3(false);
78
70
two_phase3(true);
79
- match_two_phase();
80
71
with_interior_mutability();
81
72
//FIXME: enable these, or remove them, depending on how https://github.com/rust-lang/rust/issues/56254 gets resolved
82
73
//two_phase_overlapping1();
0 commit comments