Add #![allow(..)] as necessary to get re-migrated run-pass tests compiling with clean stderr again.

Most were added mechanically.
This commit is contained in:
Felix S. Klock II 2018-09-25 23:51:35 +02:00
parent 2080474c75
commit c9d9cc6e44
822 changed files with 1030 additions and 67 deletions

View file

@ -9,6 +9,7 @@
// except according to those terms.
// run-pass
#![allow(unreachable_code)]
// pretty-expanded FIXME #23616
fn int_id(x: isize) -> isize { return x; }

View file

@ -9,6 +9,7 @@
// except according to those terms.
// run-pass
#![allow(dead_code)]
enum BogusOption<T> {
None,

View file

@ -9,6 +9,7 @@
// except according to those terms.
// run-pass
#![allow(unused_imports)]
#![feature(lang_items, start, alloc)]
#![no_std]

View file

@ -9,6 +9,8 @@
// except according to those terms.
// run-pass
#![allow(dead_code)]
#![allow(unused_assignments)]
#![feature(label_break_value)]
// Test control flow to follow label_break_value semantics

View file

@ -9,6 +9,8 @@
// except according to those terms.
// run-pass
#![allow(dead_code)]
#![allow(unused_assignments)]
// pretty-expanded FIXME #23616
#![allow(unreachable_code)]

View file

@ -9,6 +9,7 @@
// except according to those terms.
// run-pass
#![allow(dead_code)]
// pretty-expanded FIXME #23616

View file

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

View file

@ -9,6 +9,7 @@
// except according to those terms.
// run-pass
#![allow(unused_parens)]
// pretty-expanded FIXME #23616
/* Make sure a loop{} can be the tailexpr in the body

View file

@ -9,6 +9,7 @@
// except according to those terms.
// run-pass
#![allow(unreachable_code)]
pub fn main() {

View file

@ -9,6 +9,7 @@
// except according to those terms.
// run-pass
#![allow(unused_assignments)]
#![allow(unused_variables)]
pub fn main() {