Add allow(unstable) to tests that need it

This commit is contained in:
Brian Anderson 2015-01-16 23:35:44 -08:00
parent 3e38926ff4
commit 1f46ae285d
11 changed files with 11 additions and 0 deletions

View File

@ -10,6 +10,7 @@
#![deny(dead_code)]
#![allow(unreachable_code)]
#![allow(unstable)]
#[macro_use] extern crate core;

View File

@ -9,6 +9,7 @@
// except according to those terms.
#![deny(unused_variables)]
#![allow(unstable)]
fn main() {
for _ in range(1is, 101) {

View File

@ -9,6 +9,7 @@
// except according to those terms.
#![deny(improper_ctypes)]
#![allow(unstable)]
extern crate libc;

View File

@ -13,6 +13,7 @@
#![allow(non_camel_case_types)]
#![allow(non_upper_case_globals)]
#![allow(missing_copy_implementations)]
#![allow(unstable)]
#![deny(dead_code)]
#![crate_type="lib"]

View File

@ -10,6 +10,7 @@
#![allow(unused_variables)]
#![allow(non_camel_case_types)]
#![allow(unstable)]
#![deny(dead_code)]
#![crate_type="lib"]

View File

@ -10,6 +10,7 @@
#![allow(unused_variables)]
#![allow(non_camel_case_types)]
#![allow(unstable)]
#![deny(dead_code)]
extern crate libc;

View File

@ -10,6 +10,7 @@
#![deny(exceeding_bitshifts)]
#![allow(unused_variables)]
#![allow(unstable)]
#![allow(dead_code)]
fn main() {

View File

@ -12,6 +12,7 @@
#![deny(unused_extern_crates)]
#![allow(unused_variables)]
#![allow(unstable)]
extern crate libc; //~ ERROR: unused extern crate

View File

@ -11,6 +11,7 @@
// ignore-tidy-linelength
#![allow(dead_code)]
#![allow(unstable)]
#![deny(non_snake_case)]
use std::io::File;

View File

@ -10,6 +10,7 @@
#![deny(unused_variables)]
#![deny(unused_assignments)]
#![allow(unstable)]
#![allow(dead_code, non_camel_case_types)]
fn f1(x: isize) {

View File

@ -9,6 +9,7 @@
// except according to those terms.
#![deny(unused_attributes)]
#![allow(dead_code, unused_imports)]
#![allow(unstable)]
#![foo] //~ ERROR unused attribute