Remove pretty-expanded from failing tests
This commit removes pretty-expanded from all tests that wind up calling panic! one way or another now that its internals are unstable.
This commit is contained in:
parent
65e3f0325a
commit
ec7c800d2f
792 changed files with 0 additions and 792 deletions
|
|
@ -12,7 +12,6 @@
|
|||
// because it needs TempDir, which is in extra
|
||||
|
||||
// ignore-android
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![feature(rustc_private, path_ext)]
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
// except according to those terms.
|
||||
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
struct X {
|
||||
x: isize
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
pub fn main() {
|
||||
let i32_c: isize = 0x10101010;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![allow(type_limits)]
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
fn f() -> isize { { return 3; } }
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
fn main() {
|
||||
assert_eq!(3 as usize * 3, 9);
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![feature(asm)]
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![feature(asm)]
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
// except according to those terms.
|
||||
|
||||
// Issue 483 - Assignment expressions result in nil
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
fn test_assign() {
|
||||
let mut x: isize;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@
|
|||
// making method calls, but only if there aren't any matches without
|
||||
// it.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![feature(unboxed_closures)]
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![feature(core)]
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
// Test a case where the associated type binding (to `bool`, in this
|
||||
// case) is derived from the trait definition. Issue #21636.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
use std::vec;
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
// Test equality constrai32s on associated types in a where clause.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
pub trait ToI32 {
|
||||
fn to_i32(&self) -> i32;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
trait SignedUnsigned {
|
||||
type Opposite;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![allow(unknown_features)]
|
||||
#![feature(box_syntax)]
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
// Test associated types appearing in struct-like enum variants.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
use self::VarValue::*;
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
// Test associated types appearing in tuple-like enum variants.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
use self::VarValue::*;
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
trait Get {
|
||||
type Value;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
trait Get {
|
||||
type Value;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
trait Get {
|
||||
type Value;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
trait Get {
|
||||
type Value;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
// Test references to `Self::Item` in the trait. Issue #20220.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
use std::vec;
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@
|
|||
// where clauses in the environment which in turn required normalizing
|
||||
// `Self::Input`.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
pub trait Parser {
|
||||
type Input;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
fn pairwise_sub<T:DoubleEndedIterator<Item=isize>>(mut t: T) -> isize {
|
||||
let mut result = 0;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@
|
|||
// `Item` originates in a where-clause, not the declaration of
|
||||
// `T`. Issue #20300.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![feature(core)]
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
// Test where the impl self type uses a projection from a constant type.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
trait Int
|
||||
{
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
// Test that we are handle to correctly handle a projection type
|
||||
// that appears in a supertrait bound. Issue #20559.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
trait A
|
||||
{
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
// Test associated type references in a struct literal. Issue #20535.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
pub trait Foo {
|
||||
type Bar;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
// Test equality constraints on associated types in a where clause.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
pub trait Foo {
|
||||
type A;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
trait Get {
|
||||
type Value;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
// Test references to the trait `Stream` in the bounds for associated
|
||||
// types defined on `Stream`. Issue #20551.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
trait Stream {
|
||||
type Car;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
// Test that we correctly normalize the type of a struct field
|
||||
// which has an associated type.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
pub trait UnifyKey {
|
||||
type Value;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
// Test that we correctly normalize the type of a struct field
|
||||
// which has an associated type.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
pub trait UnifyKey {
|
||||
type Value;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
// Test paths to associated types using the type-parameter-only sugar.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
pub trait Foo {
|
||||
type A;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![feature(main)]
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![feature(unsafe_destructor)]
|
||||
#![feature(unsafe_no_drop_flag)]
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
pub fn main() {
|
||||
let mut sum = 0;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
// except according to those terms.
|
||||
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
trait Pushable<T> {
|
||||
fn push_val(&mut self, t: T);
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
// except according to those terms.
|
||||
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
fn f<T>(x: Vec<T>) -> T { return x.into_iter().next().unwrap(); }
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![allow(unknown_features)]
|
||||
#![feature(box_syntax)]
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![allow(unknown_features)]
|
||||
#![feature(box_syntax)]
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![allow(unknown_features)]
|
||||
#![feature(box_syntax)]
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![allow(unknown_features)]
|
||||
#![feature(box_syntax)]
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![allow(unknown_features)]
|
||||
#![feature(box_syntax)]
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
// except according to those terms.
|
||||
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![allow(unknown_features)]
|
||||
#![feature(box_syntax)]
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![feature(core)]
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
// Check that issue #954 stays fixed
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
pub fn main() {
|
||||
match -1 { -1 => {}, _ => panic!("wat") }
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
use std::sync::Arc;
|
||||
fn dispose(_x: Arc<bool>) { }
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
pub fn main() {
|
||||
struct Foo { x: isize, y: isize }
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
fn asBlock<F>(f: F) -> usize where F: FnOnce() -> usize {
|
||||
return f();
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@
|
|||
|
||||
// no-reformat
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
/*
|
||||
*
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
fn force<F>(f: F) -> isize where F: FnOnce() -> isize { return f(); }
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
pub fn main() {
|
||||
if !false { assert!((true)); } else { assert!((false)); }
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
// Basic boolean tests
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
use std::cmp::Ordering::{Equal, Greater, Less};
|
||||
use std::ops::{BitAnd, BitOr, BitXor};
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
struct Foo(isize, isize);
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![allow(unknown_features)]
|
||||
#![feature(box_syntax)]
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@
|
|||
// that the main function can read the variable too while
|
||||
// the closures are in scope. Issue #6801.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
fn a() -> i32 {
|
||||
let mut x = 3;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
pub fn main() {
|
||||
let x = [22];
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
// Test that a `&mut` inside of an `&` is freezable.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
struct MutSlice<'a, T:'a> {
|
||||
data: &'a mut [T]
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
// Check that we do not ICE when compiling this
|
||||
// macro, which reuses the expression `$id`
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![feature(box_patterns)]
|
||||
#![feature(box_syntax)]
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![allow(unknown_features)]
|
||||
#![feature(box_syntax)]
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
// except according to those terms.
|
||||
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
fn want_slice(v: &[isize]) -> isize {
|
||||
let mut sum = 0;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
pub fn main() {
|
||||
let mut x = None;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
struct Counter {
|
||||
value: usize
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@
|
|||
// limited to the deref operation itself, and does not infect the
|
||||
// block as a whole.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
struct Box {
|
||||
x: usize
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
// except according to those terms.
|
||||
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
use std::cell::Cell;
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
fn foo(s: &String) -> bool {
|
||||
match &**s {
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
fn foo<'r>(s: &'r usize) -> bool {
|
||||
match s {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
// except according to those terms.
|
||||
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
pub fn main() {
|
||||
let (&x, &y) = (&3, &'a');
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
fn select<'r>(x: &'r Option<isize>, y: &'r Option<isize>) -> &'r Option<isize> {
|
||||
match (x, y) {
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
fn foo<T:Clone>(x: &T) -> T{
|
||||
match x {
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
pub fn main() {
|
||||
let mut i = 0;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
trait Speak : Sized {
|
||||
fn say(&self, s:&str) -> String;
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@
|
|||
// a Send. Basically this just makes sure rustc is using
|
||||
// each_bound_trait_and_supertraits in type_contents correctly.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
use std::sync::mpsc::{channel, Sender};
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@
|
|||
// Tests "capabilities" granted by traits with super-builtin-kinds,
|
||||
// even when using them cross-crate.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
extern crate trait_superkinds_in_metadata;
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@
|
|||
// builtin-kinds, e.g., if a trait requires Send to implement, then
|
||||
// at usage site of that trait, we know we have the Send capability.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
use std::sync::mpsc::{channel, Sender, Receiver};
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
// Tests the ability for the Self type in default methods to use
|
||||
// capabilities granted by builtin kinds as supertraits.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
use std::sync::mpsc::{Sender, channel};
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
struct X {
|
||||
a: isize
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
fn foo() -> isize { 22 }
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
fn each<T, F>(x: &[T], mut f: F) where F: FnMut(&T) {
|
||||
for val in x {
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![feature(unboxed_closures)]
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
pub fn main() {
|
||||
let i: isize = 'Q' as isize;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
// aux-build:cci_nested_lib.rs
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![feature(globs)]
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
use std::cell::Cell;
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@
|
|||
// check that cfg correctly chooses between the macro impls (see also
|
||||
// cfg-macros-notfoo.rs)
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#[cfg(foo)]
|
||||
#[macro_use]
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@
|
|||
// check that cfg correctly chooses between the macro impls (see also
|
||||
// cfg-macros-foo.rs)
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#[cfg(foo)]
|
||||
#[macro_use]
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
// compile-flags: --cfg fooA --cfg fooB
|
||||
|
||||
// fooA AND !bar
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#[cfg(all(fooA, not(bar)))]
|
||||
fn foo1() -> isize { 1 }
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
pub fn main() {
|
||||
let c: char = 'x';
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
// Checks that mutable static items can have mutable slices
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
static mut TEST: &'static mut [isize] = &mut [1];
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
// Check that the various ways of getting to a reference to a vec (both sized
|
||||
// and unsized) work properly.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
const aa: [isize; 3] = [1, 2, 3];
|
||||
const ab: &'static [isize; 3] = &aa;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
/* Test that exporting a class also exports its
|
||||
public fields and methods */
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
// except according to those terms.
|
||||
|
||||
// aux-build:cci_class_2.rs
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
extern crate cci_class_2;
|
||||
use cci_class_2::kitties::cat;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
// except according to those terms.
|
||||
|
||||
// aux-build:cci_class_3.rs
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
extern crate cci_class_3;
|
||||
use cci_class_3::kitties::cat;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
struct cat {
|
||||
meows : usize,
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
// except according to those terms.
|
||||
|
||||
// aux-build:cci_class_6.rs
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
extern crate cci_class_6;
|
||||
use cci_class_6::kitties::cat;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
// except according to those terms.
|
||||
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
struct cat<U> {
|
||||
info : Vec<U> ,
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
// except according to those terms.
|
||||
|
||||
// aux-build:cci_class_4.rs
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
extern crate cci_class_4;
|
||||
use cci_class_4::kitties::cat;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
// except according to those terms.
|
||||
|
||||
// aux-build:cci_class.rs
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
extern crate cci_class;
|
||||
use cci_class::kitties::cat;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
struct cat {
|
||||
meows : usize,
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
struct cat {
|
||||
meows : usize,
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue