Skip to content

Commit 74a5aef

Browse files
committed
Add #![allow(stable_features)] to ease review.
That is, opting to ignore stable `#![feature(..)]`, under my theory that a reviewer would prefer as much stuff to be bucketed under "ah another `#![allow(..)]` here." as possible.
1 parent c2d2732 commit 74a5aef

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

src/test/ui/run-pass/consts/const-fn.rs

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// except according to those terms.
1010

1111
// run-pass
12+
#![allow(stable_features)]
13+
1214
// A very basic test of const fn functionality.
1315

1416
#![feature(const_fn, const_indexing)]

src/test/ui/run-pass/issues/issue-29914.rs

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// run-pass
12+
#![allow(stable_features)]
1213

1314
#![feature(const_indexing)]
1415

src/test/ui/run-pass/iterators/iter-cloned-type-inference.rs

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// except according to those terms.
1010

1111
// run-pass
12+
#![allow(stable_features)]
13+
1214
// Test to see that the element type of .cloned() can be inferred
1315
// properly. Previously this would fail to deduce the type of `sum`.
1416

src/test/ui/run-pass/panics/panic-handler-set-twice.rs

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// run-pass
12+
#![allow(stable_features)]
1213

1314
#![feature(std_panic)]
1415

0 commit comments

Comments
 (0)