Add allow(unstable) to tests that need it
This commit is contained in:
parent
3e38926ff4
commit
1f46ae285d
@ -10,6 +10,7 @@
|
||||
|
||||
#![deny(dead_code)]
|
||||
#![allow(unreachable_code)]
|
||||
#![allow(unstable)]
|
||||
|
||||
#[macro_use] extern crate core;
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
#![deny(unused_variables)]
|
||||
#![allow(unstable)]
|
||||
|
||||
fn main() {
|
||||
for _ in range(1is, 101) {
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
#![deny(improper_ctypes)]
|
||||
#![allow(unstable)]
|
||||
|
||||
extern crate libc;
|
||||
|
||||
|
@ -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"]
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
#![allow(unused_variables)]
|
||||
#![allow(non_camel_case_types)]
|
||||
#![allow(unstable)]
|
||||
#![deny(dead_code)]
|
||||
|
||||
#![crate_type="lib"]
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
#![allow(unused_variables)]
|
||||
#![allow(non_camel_case_types)]
|
||||
#![allow(unstable)]
|
||||
#![deny(dead_code)]
|
||||
|
||||
extern crate libc;
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
#![deny(exceeding_bitshifts)]
|
||||
#![allow(unused_variables)]
|
||||
#![allow(unstable)]
|
||||
#![allow(dead_code)]
|
||||
|
||||
fn main() {
|
||||
|
@ -12,6 +12,7 @@
|
||||
|
||||
#![deny(unused_extern_crates)]
|
||||
#![allow(unused_variables)]
|
||||
#![allow(unstable)]
|
||||
|
||||
extern crate libc; //~ ERROR: unused extern crate
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
||||
// ignore-tidy-linelength
|
||||
|
||||
#![allow(dead_code)]
|
||||
#![allow(unstable)]
|
||||
#![deny(non_snake_case)]
|
||||
|
||||
use std::io::File;
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
#![deny(unused_variables)]
|
||||
#![deny(unused_assignments)]
|
||||
#![allow(unstable)]
|
||||
#![allow(dead_code, non_camel_case_types)]
|
||||
|
||||
fn f1(x: isize) {
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
#![deny(unused_attributes)]
|
||||
#![allow(dead_code, unused_imports)]
|
||||
#![allow(unstable)]
|
||||
|
||||
#![foo] //~ ERROR unused attribute
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user