mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-22 12:43:36 +00:00
Add #![allow(..)]
for a slew of lints of migrated run-pass tests, to silence stderr output.
This commit is contained in:
parent
90241dfba3
commit
e462c1adc5
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(stable_features)]
|
||||
|
||||
#![feature(const_indexing)]
|
||||
|
||||
|
@ -10,8 +10,6 @@
|
||||
|
||||
// run-pass
|
||||
|
||||
#![allow(dead_assignment)]
|
||||
|
||||
pub fn main() {
|
||||
let x : &[isize] = &[1,2,3,4,5];
|
||||
let mut z : &[isize] = &[1,2,3,4,5];
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
// run-pass
|
||||
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
trait sum {
|
||||
fn sum_(self) -> isize;
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(stable_features)]
|
||||
|
||||
// compile-flags: -C debug-assertions
|
||||
|
||||
|
@ -10,6 +10,8 @@
|
||||
|
||||
// run-pass
|
||||
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
use std::cell::Cell;
|
||||
|
||||
// Make sure that destructors get run on slice literals
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
#![feature(box_syntax)]
|
||||
|
||||
trait double {
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
#![feature(box_syntax)]
|
||||
|
||||
trait double {
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
#![feature(box_syntax)]
|
||||
|
||||
trait double {
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
#![feature(box_syntax)]
|
||||
|
||||
trait double {
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
#![feature(box_syntax)]
|
||||
|
||||
trait double {
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_shorthand_field_patterns)]
|
||||
|
||||
pub fn main() {
|
||||
struct Foo { x: isize, y: isize }
|
||||
|
@ -9,7 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
type compare<T> = extern "Rust" fn(T, T) -> bool;
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
enum color {
|
||||
red,
|
||||
|
@ -10,8 +10,6 @@
|
||||
|
||||
// run-pass
|
||||
|
||||
#![allow(unnecessary_allocation)]
|
||||
|
||||
fn f1(ref_string: &str) -> String {
|
||||
match ref_string {
|
||||
"a" => "found a".to_string(),
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_shorthand_field_patterns)]
|
||||
#![feature(box_syntax)]
|
||||
|
||||
struct Pair { a: Box<isize>, b: Box<isize> }
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
enum maybe<T> { nothing, just(T), }
|
||||
|
||||
fn foo(x: maybe<isize>) {
|
||||
|
@ -10,8 +10,7 @@
|
||||
|
||||
// run-pass
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![allow(dead_assignment)]
|
||||
#![allow(non_camel_case_types)]
|
||||
#![allow(unused_variables)]
|
||||
|
||||
enum thing { a, b, c, }
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
// run-pass
|
||||
// pretty-expanded FIXME #23616
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
const s: isize = 1;
|
||||
const e: isize = 42;
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_shorthand_field_patterns)]
|
||||
|
||||
struct Rec {
|
||||
f: isize
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
// run-pass
|
||||
// Issue #53
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
|
||||
pub fn main() {
|
||||
|
@ -9,7 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
|
||||
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
#![allow(non_shorthand_field_patterns)]
|
||||
|
||||
trait Foo {
|
||||
fn foo(&self, mut x: isize) -> isize {
|
||||
|
@ -9,7 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
// a bug was causing this to complain about leaked memory on exit
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
enum blah { a, b, }
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
// run-pass
|
||||
// ignore-pretty issue #37199
|
||||
#![allow(while_true)]
|
||||
|
||||
fn main() {
|
||||
let x = 1;
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
enum blah { a(isize, isize, usize), b(isize, isize), c, }
|
||||
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_shorthand_field_patterns)]
|
||||
|
||||
struct Foo {
|
||||
x: isize,
|
||||
y: isize
|
||||
|
@ -9,7 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
|
||||
fn foo<T>(o: myoption<T>) -> isize {
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
|
||||
fn foo<T>(o: myoption<T>) -> isize {
|
||||
|
@ -9,6 +9,10 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_upper_case_globals)]
|
||||
#![allow(non_camel_case_types)]
|
||||
#![allow(improper_ctypes)]
|
||||
|
||||
// Crate use statements
|
||||
|
||||
#[cfg(bogus)]
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
pub fn main() {
|
||||
#[derive(Copy, Clone)]
|
||||
enum x { foo }
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(deprecated)]
|
||||
|
||||
use std::mem;
|
||||
|
||||
#[derive(PartialEq, Debug)]
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
use std::ptr;
|
||||
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
struct TestStruct {
|
||||
x: *const u8,
|
||||
}
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
const a: isize = 1;
|
||||
const b: isize = a + 2;
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
// run-pass
|
||||
// Issue #570
|
||||
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
static lsl : isize = 1 << 2;
|
||||
static add : isize = 1 + 2;
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
// run-pass
|
||||
// aux-build:cci_const.rs
|
||||
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
extern crate cci_const;
|
||||
static foo: &'static str = cci_const::foopy;
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
// run-pass
|
||||
// aux-build:cci_const.rs
|
||||
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
extern crate cci_const;
|
||||
use cci_const::bar;
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
enum A { A1, A2 }
|
||||
enum B { B1=0, B2=2 }
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
extern fn foopy() {}
|
||||
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
const x : [isize; 4] = [1,2,3,4];
|
||||
static p : isize = x[2];
|
||||
const y : &'static [isize] = &[1,2,3,4];
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
fn foo() -> isize {
|
||||
return 0xca7f000d;
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(overflowing_literals)]
|
||||
|
||||
#[deny(const_err)]
|
||||
|
||||
fn main() {
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
// run-pass
|
||||
// Issue #358
|
||||
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
static toplevel_mod: isize = -1;
|
||||
|
||||
|
@ -9,6 +9,9 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_upper_case_globals)]
|
||||
#![allow(overflowing_literals)]
|
||||
|
||||
struct Pair { a: f64, b: f64 }
|
||||
|
||||
struct AnotherPair { x: (i64, i64), y: Pair }
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
type Big = [u64; 8];
|
||||
struct Pair<'a> { a: isize, b: &'a Big }
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
struct Pair<'a> { a: isize, b: &'a isize }
|
||||
|
||||
const x: &'static isize = &10;
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
// run-pass
|
||||
// pretty-expanded FIXME #23616
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
enum Foo {
|
||||
IntVal(i32),
|
||||
|
@ -9,6 +9,9 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
use std::cmp;
|
||||
|
||||
#[derive(Debug)]
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
// run-pass
|
||||
// pretty-expanded FIXME #23616
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
/*!
|
||||
* Try to double-check that static fns have the right size (with or
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
static x : [isize; 4] = [1,2,3,4];
|
||||
static y : &'static [isize] = &[1,2,3,4];
|
||||
static z : &'static [isize; 4] = &[1,2,3,4];
|
||||
|
@ -9,7 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
static i: isize = 10;
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
||||
// run-pass
|
||||
// aux-build:xcrate_unit_struct.rs
|
||||
// pretty-expanded FIXME #23616
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
extern crate xcrate_unit_struct;
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
// run-pass
|
||||
// pretty-expanded FIXME #23616
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
pub type task_id = isize;
|
||||
|
||||
|
@ -9,6 +9,10 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(deprecated)]
|
||||
#![allow(non_camel_case_types)]
|
||||
#![allow(non_snake_case)]
|
||||
|
||||
use std::hash::{Hash, SipHasher, Hasher};
|
||||
use std::mem::size_of;
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
// run-pass
|
||||
// pretty-expanded FIXME #23616
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
macro_rules! define_vec {
|
||||
() => (
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
// run-pass
|
||||
// pretty-expanded FIXME #23616
|
||||
#![allow(deprecated)]
|
||||
|
||||
use std::hash::{Hash, SipHasher};
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
// run-pass
|
||||
// pretty-expanded FIXME #23616
|
||||
#![allow(deprecated)]
|
||||
|
||||
use std::hash::{Hash, SipHasher};
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
// run-pass
|
||||
// pretty-expanded FIXME #23616
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
#![feature(box_syntax)]
|
||||
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
// Test that destructor on a struct runs successfully after the struct
|
||||
// is boxed and converted to an object.
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(stable_features)]
|
||||
// Test a very simple custom DST coercion.
|
||||
|
||||
#![feature(core, rc_weak)]
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(type_alias_bounds)]
|
||||
|
||||
#![allow(unused_features)]
|
||||
#![feature(box_syntax)]
|
||||
|
@ -9,6 +9,9 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(stable_features)]
|
||||
#![allow(type_alias_bounds)]
|
||||
|
||||
// As dst-tuple.rs, but the unsized field is the only field in the tuple.
|
||||
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(type_alias_bounds)]
|
||||
|
||||
#![feature(box_syntax)]
|
||||
#![feature(unsized_tuple_coercion)]
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
// run-pass
|
||||
// Tests that we can compare various kinds of extern fn signatures.
|
||||
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
extern fn voidret1() {}
|
||||
extern fn voidret2() {}
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
use std::string::String;
|
||||
|
||||
#[derive(PartialEq)]
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
// run-pass
|
||||
// pretty-expanded FIXME #23616
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
struct r<F> where F: FnOnce() {
|
||||
field: F,
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(stable_features)]
|
||||
|
||||
// Tests parallel codegen - this can fail if the symbol for the anonymous
|
||||
// closure in `sum` pollutes the second codegen unit from the first.
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_upper_case_globals)]
|
||||
// just to make sure that `return` is only returning from the closure,
|
||||
// not the surrounding function.
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
enum wrapper<T> { wrapped(T), }
|
||||
|
||||
pub fn main() { let _w = wrapper::wrapped(vec![1, 2, 3, 4, 5]); }
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
#![feature(box_syntax)]
|
||||
|
||||
enum list<T> { cons(Box<T>, Box<list<T>>), nil, }
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
|
||||
trait vec_utils<T> {
|
||||
|
@ -9,7 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
|
||||
// This used to cause memory corruption in stage 0.
|
||||
|
@ -9,7 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
enum foo<T> { arm(T), }
|
||||
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
enum noption<T> { some(T), }
|
||||
|
||||
struct Pair { x: isize, y: isize }
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![allow(unused_variables)]
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
// run-pass
|
||||
// ignore-emscripten no threads support
|
||||
#![allow(stable_features)]
|
||||
|
||||
// This test is checking that the move_val_init intrinsic is
|
||||
// respecting cleanups for both of its argument expressions.
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
static mut drop_count: usize = 0;
|
||||
|
||||
struct Foo {
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
// run-pass
|
||||
// ignore-wasm32-bare can't block the thread
|
||||
#![allow(deprecated)]
|
||||
|
||||
use std::thread;
|
||||
|
||||
|
@ -9,6 +9,9 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
#![allow(non_snake_case)]
|
||||
|
||||
use std::ops::Deref;
|
||||
|
||||
struct Root {
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
const JSVAL_TAG_CLEAR: u32 = 0xFFFFFF80;
|
||||
const JSVAL_TYPE_INT32: u8 = 0x01;
|
||||
const JSVAL_TYPE_UNDEFINED: u8 = 0x02;
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_snake_case)]
|
||||
|
||||
// aux-build:issue-14421.rs
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_snake_case)]
|
||||
|
||||
// aux-build:issue-14422.rs
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
// run-pass
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![allow(non_snake_case)]
|
||||
#![allow(unused_variables)]
|
||||
|
||||
struct T { f: extern "Rust" fn() }
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
static mut n_mut: usize = 0;
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(stable_features)]
|
||||
|
||||
#![feature(iter_arith)]
|
||||
|
||||
fn main() {
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_snake_case)]
|
||||
|
||||
use std::rc::Rc;
|
||||
use std::cell::Cell;
|
||||
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(deprecated)]
|
||||
|
||||
use std::hash::{SipHasher, Hasher, Hash};
|
||||
|
||||
#[derive(Hash)]
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
pub fn main() {
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
|
||||
enum pattern { tabby, tortoiseshell, calico }
|
||||
enum breed { beagle, rottweiler, pug }
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
const count : usize = 2 as usize;
|
||||
fn main() {
|
||||
let larger : [usize; count*2];
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
// Issue #1821 - Don't recurse trying to typecheck this
|
||||
|
||||
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
mod a {
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(stable_features)]
|
||||
|
||||
// ignore-cloudabi no processes
|
||||
// ignore-emscripten no processes
|
||||
|
||||
|
@ -9,6 +9,9 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_upper_case_globals)]
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
// aux-build:i8.rs
|
||||
// ignore-pretty issue #37201
|
||||
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(stable_features)]
|
||||
|
||||
// A reduced version of the rustbook ice. The problem this encountered
|
||||
// had to do with codegen ignoring binders.
|
||||
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
extern crate core;
|
||||
use core::marker::Sync;
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user