Skip to content

Commit b8b52b0

Browse files
authored
Merge pull request #674 from matthewjasper/2phase-on-edition
Use edition flag for 2phase test
2 parents 54940f6 + 3298102 commit b8b52b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/run-pass/2phase.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(nll)]
2-
31
trait S: Sized {
42
fn tpb(&mut self, _s: Self) {}
53
}
@@ -54,6 +52,8 @@ fn with_interior_mutability() {
5452

5553
let mut x = Cell::new(1);
5654
let l = &x;
55+
56+
#[allow(unknown_lints, mutable_borrow_reservation_conflict)]
5757
x
5858
.do_the_thing({
5959
x.set(3);

0 commit comments

Comments
 (0)