fixes after rebase
This commit is contained in:
@@ -123,7 +123,6 @@ pub trait FromIterator<A> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Conversion into an `Iterator`
|
/// Conversion into an `Iterator`
|
||||||
#[unstable]
|
|
||||||
pub trait IntoIterator {
|
pub trait IntoIterator {
|
||||||
type Iter: Iterator;
|
type Iter: Iterator;
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,6 @@
|
|||||||
#![feature(unicode)]
|
#![feature(unicode)]
|
||||||
#![feature(hash)]
|
#![feature(hash)]
|
||||||
#![cfg_attr(test, feature(test))]
|
#![cfg_attr(test, feature(test))]
|
||||||
#![allow(unstable)]
|
|
||||||
// NOTE(stage0) remove cfg_attr after a snapshot
|
// NOTE(stage0) remove cfg_attr after a snapshot
|
||||||
#![cfg_attr(not(stage0), allow(unused_mut))]
|
#![cfg_attr(not(stage0), allow(unused_mut))]
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,6 @@
|
|||||||
#![feature(std_misc)]
|
#![feature(std_misc)]
|
||||||
#![feature(unicode)]
|
#![feature(unicode)]
|
||||||
#![feature(hash)]
|
#![feature(hash)]
|
||||||
#![allow(unstable)]
|
|
||||||
// NOTE(stage0) remove cfg_attr after a snapshot
|
// NOTE(stage0) remove cfg_attr after a snapshot
|
||||||
#![cfg_attr(not(stage0), allow(unused_mut))]
|
#![cfg_attr(not(stage0), allow(unused_mut))]
|
||||||
|
|
||||||
|
|||||||
@@ -84,7 +84,6 @@ This API is completely unstable and subject to change.
|
|||||||
#![feature(core)]
|
#![feature(core)]
|
||||||
#![feature(rustc_private)]
|
#![feature(rustc_private)]
|
||||||
#![feature(std_misc)]
|
#![feature(std_misc)]
|
||||||
#![allow(unstable)]
|
|
||||||
// NOTE(stage0) remove cfg_attr after a snapshot
|
// NOTE(stage0) remove cfg_attr after a snapshot
|
||||||
#![cfg_attr(not(stage0), allow(unused_mut))]
|
#![cfg_attr(not(stage0), allow(unused_mut))]
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,6 @@
|
|||||||
#![feature(test)]
|
#![feature(test)]
|
||||||
#![feature(unicode)]
|
#![feature(unicode)]
|
||||||
#![feature(hash)]
|
#![feature(hash)]
|
||||||
#![allow(unstable)]
|
|
||||||
// NOTE(stage0) remove cfg_attr after a snapshot
|
// NOTE(stage0) remove cfg_attr after a snapshot
|
||||||
#![cfg_attr(not(stage0), allow(unused_mut))]
|
#![cfg_attr(not(stage0), allow(unused_mut))]
|
||||||
|
|
||||||
|
|||||||
@@ -123,7 +123,6 @@
|
|||||||
#![feature(rand)]
|
#![feature(rand)]
|
||||||
#![feature(hash)]
|
#![feature(hash)]
|
||||||
#![cfg_attr(test, feature(test))]
|
#![cfg_attr(test, feature(test))]
|
||||||
#![allow(unstable)]
|
|
||||||
// NOTE(stage0): remove cfg_attr after a snapshot
|
// NOTE(stage0): remove cfg_attr after a snapshot
|
||||||
#![cfg_attr(not(stage0), allow(unused_mut))]
|
#![cfg_attr(not(stage0), allow(unused_mut))]
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,6 @@
|
|||||||
#![feature(rustc_private)]
|
#![feature(rustc_private)]
|
||||||
#![feature(std_misc)]
|
#![feature(std_misc)]
|
||||||
#![feature(unicode)]
|
#![feature(unicode)]
|
||||||
#![allow(unstable)]
|
|
||||||
// NOTE(stage0) remove cfg_attr after a snapshot
|
// NOTE(stage0) remove cfg_attr after a snapshot
|
||||||
#![cfg_attr(not(stage0), allow(unused_mut))]
|
#![cfg_attr(not(stage0), allow(unused_mut))]
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,6 @@
|
|||||||
#![feature(rustc_private)]
|
#![feature(rustc_private)]
|
||||||
#![feature(std_misc)]
|
#![feature(std_misc)]
|
||||||
#![feature(hash)]
|
#![feature(hash)]
|
||||||
#![allow(unstable)]
|
|
||||||
// NOTE(stage0): remove cfg_attr after a snapshot
|
// NOTE(stage0): remove cfg_attr after a snapshot
|
||||||
#![cfg_attr(not(stage0), allow(unused_mut))]
|
#![cfg_attr(not(stage0), allow(unused_mut))]
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
fn changer<'a>(mut things: Box<Iterator<Item=&'a mut u8>>) {
|
fn changer<'a>(mut things: Box<Iterator<Item=&'a mut u8>>) {
|
||||||
for item in *things { *item = 0 }
|
for item in *things { *item = 0 }
|
||||||
//~^ ERROR the trait `core::marker::Sized` is not implemented for the type `core::iter::Iterator`
|
//~^ ERROR the trait `core::marker::Sized` is not implemented for the type `core::iter::Iterator
|
||||||
//~^^ ERROR
|
//~^^ ERROR
|
||||||
//~^^^ ERROR
|
//~^^^ ERROR
|
||||||
// FIXME(#21528) error should be reported once, not thrice
|
// FIXME(#21528) error should be reported once, not thrice
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
#![deny(unreachable_code)]
|
#![deny(unreachable_code)]
|
||||||
#![allow(unused_variables)]
|
#![allow(unused_variables)]
|
||||||
#![allow(dead_code)]
|
#![allow(dead_code)]
|
||||||
#![allow(unstable)]
|
#![feature(core)]
|
||||||
|
|
||||||
fn fail_len(v: Vec<isize> ) -> usize {
|
fn fail_len(v: Vec<isize> ) -> usize {
|
||||||
let mut i = 3;
|
let mut i = 3;
|
||||||
|
|||||||
Reference in New Issue
Block a user