mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
fixes after rebase
This commit is contained in:
parent
2d76c94dd0
commit
60abb3bef2
@ -123,7 +123,6 @@ pub trait FromIterator<A> {
|
||||
}
|
||||
|
||||
/// Conversion into an `Iterator`
|
||||
#[unstable]
|
||||
pub trait IntoIterator {
|
||||
type Iter: Iterator;
|
||||
|
||||
|
@ -41,7 +41,6 @@
|
||||
#![feature(unicode)]
|
||||
#![feature(hash)]
|
||||
#![cfg_attr(test, feature(test))]
|
||||
#![allow(unstable)]
|
||||
// NOTE(stage0) remove cfg_attr after a snapshot
|
||||
#![cfg_attr(not(stage0), allow(unused_mut))]
|
||||
|
||||
|
@ -41,7 +41,6 @@
|
||||
#![feature(std_misc)]
|
||||
#![feature(unicode)]
|
||||
#![feature(hash)]
|
||||
#![allow(unstable)]
|
||||
// NOTE(stage0) remove cfg_attr after a snapshot
|
||||
#![cfg_attr(not(stage0), allow(unused_mut))]
|
||||
|
||||
|
@ -84,7 +84,6 @@ This API is completely unstable and subject to change.
|
||||
#![feature(core)]
|
||||
#![feature(rustc_private)]
|
||||
#![feature(std_misc)]
|
||||
#![allow(unstable)]
|
||||
// NOTE(stage0) remove cfg_attr after a snapshot
|
||||
#![cfg_attr(not(stage0), allow(unused_mut))]
|
||||
|
||||
|
@ -32,7 +32,6 @@
|
||||
#![feature(test)]
|
||||
#![feature(unicode)]
|
||||
#![feature(hash)]
|
||||
#![allow(unstable)]
|
||||
// NOTE(stage0) remove cfg_attr after a snapshot
|
||||
#![cfg_attr(not(stage0), allow(unused_mut))]
|
||||
|
||||
|
@ -123,7 +123,6 @@
|
||||
#![feature(rand)]
|
||||
#![feature(hash)]
|
||||
#![cfg_attr(test, feature(test))]
|
||||
#![allow(unstable)]
|
||||
// NOTE(stage0): remove cfg_attr after a snapshot
|
||||
#![cfg_attr(not(stage0), allow(unused_mut))]
|
||||
|
||||
|
@ -39,7 +39,6 @@
|
||||
#![feature(rustc_private)]
|
||||
#![feature(std_misc)]
|
||||
#![feature(unicode)]
|
||||
#![allow(unstable)]
|
||||
// NOTE(stage0) remove cfg_attr after a snapshot
|
||||
#![cfg_attr(not(stage0), allow(unused_mut))]
|
||||
|
||||
|
@ -44,7 +44,6 @@
|
||||
#![feature(rustc_private)]
|
||||
#![feature(std_misc)]
|
||||
#![feature(hash)]
|
||||
#![allow(unstable)]
|
||||
// NOTE(stage0): remove cfg_attr after a snapshot
|
||||
#![cfg_attr(not(stage0), allow(unused_mut))]
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
fn changer<'a>(mut things: Box<Iterator<Item=&'a mut u8>>) {
|
||||
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
|
||||
// FIXME(#21528) error should be reported once, not thrice
|
||||
|
@ -11,7 +11,7 @@
|
||||
#![deny(unreachable_code)]
|
||||
#![allow(unused_variables)]
|
||||
#![allow(dead_code)]
|
||||
#![allow(unstable)]
|
||||
#![feature(core)]
|
||||
|
||||
fn fail_len(v: Vec<isize> ) -> usize {
|
||||
let mut i = 3;
|
||||
|
Loading…
Reference in New Issue
Block a user