Make moves explicit in libsyntax
This commit is contained in:
parent
335e5ca33b
commit
c5fa613498
@ -231,7 +231,7 @@ fn ident_of(st: ~str) -> ast::ident {
|
||||
mut mod_path: ~[],
|
||||
mut trace_mac: false
|
||||
};
|
||||
move (imp as ext_ctxt)
|
||||
move ((move imp) as ext_ctxt)
|
||||
}
|
||||
|
||||
fn expr_to_str(cx: ext_ctxt, expr: @ast::expr, error: ~str) -> ~str {
|
||||
|
@ -16,7 +16,7 @@ fn mk<T:Eq IterBytes Hash Const Copy>() -> interner<T> {
|
||||
let m = map::HashMap::<T, uint>();
|
||||
let hi: hash_interner<T> =
|
||||
{map: m, vect: DVec()};
|
||||
move (hi as interner::<T>)
|
||||
move ((move hi) as interner::<T>)
|
||||
}
|
||||
|
||||
fn mk_prefill<T:Eq IterBytes Hash Const Copy>(init: ~[T]) -> interner<T> {
|
||||
|
Loading…
Reference in New Issue
Block a user