Skip to content

Commit 2c47ba9

Browse files
committed
Updated post-rebase. Still errs, delayed to stage2 by design.
1 parent 00e2777 commit 2c47ba9

File tree

3 files changed

+83
-81
lines changed

3 files changed

+83
-81
lines changed

src/librustc/middle/typeck/check/vtable.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,8 @@ fn lookup_vtable(vcx: &VtableContext,
256256
}
257257
Some(implementations) => {
258258
let len = { // FIXME(#5074): stage0 requires it
259-
let implementations: &mut ~[@Impl] = *implementations;
259+
//let implementations: &mut ~[@Impl] = *implementations;
260+
let implementations = *implementations;
260261
implementations.len()
261262
};
262263

src/libstd/vec.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1764,6 +1764,7 @@ impl<'self,T:Copy> CopyableVector<T> for &'self [T] {
17641764

17651765
#[allow(missing_doc)]
17661766
pub trait ImmutableVector<'self, T> {
1767+
//? fn each(&self, f: &fn(T) -> bool) -> bool { self.iter().advance(f) }
17671768
fn slice(&self, start: uint, end: uint) -> &'self [T];
17681769
fn iter(self) -> VecIterator<'self, T>;
17691770
fn rev_iter(self) -> VecRevIterator<'self, T>;

0 commit comments

Comments
 (0)