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.
This commit is contained in:
Felix S. Klock II 2018-08-31 15:58:57 +02:00
parent f97eea1c10
commit dc124e4d0b
4 changed files with 6 additions and 0 deletions

View File

@ -9,6 +9,8 @@
// except according to those terms.
// run-pass
#![allow(stable_features)]
// A very basic test of const fn functionality.
#![feature(const_fn, const_indexing)]

View File

@ -9,6 +9,7 @@
// except according to those terms.
// run-pass
#![allow(stable_features)]
#![feature(const_indexing)]

View File

@ -9,6 +9,8 @@
// except according to those terms.
// run-pass
#![allow(stable_features)]
// Test to see that the element type of .cloned() can be inferred
// properly. Previously this would fail to deduce the type of `sum`.

View File

@ -9,6 +9,7 @@
// except according to those terms.
// run-pass
#![allow(stable_features)]
#![feature(std_panic)]