From e244f103c9622ef0d13b138ec6f8425840201def Mon Sep 17 00:00:00 2001 From: Luqman Aden Date: Fri, 15 Feb 2013 01:15:53 -0800 Subject: libsyntax: Get rid of uses of `move` and don't parse it. --- src/libsyntax/codemap.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libsyntax/codemap.rs') diff --git a/src/libsyntax/codemap.rs b/src/libsyntax/codemap.rs index 10a4e12bef4..3c61e834af6 100644 --- a/src/libsyntax/codemap.rs +++ b/src/libsyntax/codemap.rs @@ -152,7 +152,7 @@ pub impl span: Decodable { } pub pure fn spanned(+lo: BytePos, +hi: BytePos, +t: T) -> spanned { - respan(mk_sp(lo, hi), move t) + respan(mk_sp(lo, hi), t) } pub pure fn respan(sp: span, +t: T) -> spanned { @@ -160,7 +160,7 @@ pub pure fn respan(sp: span, +t: T) -> spanned { } pub pure fn dummy_spanned(+t: T) -> spanned { - respan(dummy_sp(), move t) + respan(dummy_sp(), t) } /* assuming that we're not in macro expansion */ -- cgit 1.4.1-3-g733a5