fixes after rebase
This commit is contained in:
parent
2d76c94dd0
commit
60abb3bef2
10 changed files with 2 additions and 10 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue