Skip to content

Commit 9d6cc05

Browse files
committed
uncomment feature-gate testing for in PLACE BLOCK now that its in the parser.
1 parent 9f6f35b commit 9d6cc05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/compile-fail/feature-gate-placement-expr.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ fn main() {
2222
let x = box (HEAP) 'c'; //~ ERROR placement-in expression syntax is experimental
2323
println!("x: {}", x);
2424

25-
// let x = in HEAP { 'c' }; // ERROR placement-in expression syntax is experimental
26-
// println!("x: {}", x);
25+
let x = in HEAP { 'c' }; //~ ERROR placement-in expression syntax is experimental
26+
println!("x: {}", x);
2727
}

0 commit comments

Comments
 (0)