Skip to content

Commit 5cfbecf

Browse files
committed
Add allow(unstable) to more tests
1 parent 9035ba5 commit 5cfbecf

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/test/run-pass/ifmt.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#![deny(warnings)]
1515
#![allow(unused_must_use)]
1616
#![allow(unknown_features)]
17+
#![allow(unstable)]
1718
#![feature(box_syntax)]
1819

1920
use std::fmt;

src/test/run-pass/issue-11958.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
// Pretty printing tests complain about `use std::predule::*`
1414
#![allow(unused_imports)]
15+
#![allow(unstable)]
1516

1617
// We shouldn't need to rebind a moved upvar as mut if it's already
1718
// marked as mut

src/test/run-pass/issue-16671.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
// Pretty printing tests complain about `use std::predule::*`
1616
#![allow(unused_imports)]
17+
#![allow(unstable)]
1718

1819
// A var moved into a proc, that has a mutable loan path should
1920
// not trigger a misleading unused_mut warning.

0 commit comments

Comments
 (0)