summaryrefslogtreecommitdiff
path: root/src/parse
diff options
context:
space:
mode:
authorJohn Hodge (sonata) <tpg@mutabah.net>2015-01-14 11:17:57 +0800
committerJohn Hodge (sonata) <tpg@mutabah.net>2015-01-14 11:17:57 +0800
commitb28f21a27b355fef18bb8daf75f447c69ddad8ee (patch)
treedd115261038500de90e0bedb1100ea906e5ecdb8 /src/parse
parentb3058a63847bd1d2b58765c279b0c29e60eb65ea (diff)
downloadmrust-b28f21a27b355fef18bb8daf75f447c69ddad8ee.tar.gz
Local type resolution added, framework for local use statements
Diffstat (limited to 'src/parse')
-rw-r--r--src/parse/root.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/root.cpp b/src/parse/root.cpp
index a0b8329f..6be74e76 100644
--- a/src/parse/root.cpp
+++ b/src/parse/root.cpp
@@ -453,7 +453,7 @@ AST::Impl Parse_Impl(TokenStream& lex)
}
GET_CHECK_TOK(tok, lex, TOK_BRACE_OPEN);
- AST::Impl impl(impl_type, trait_type);
+ AST::Impl impl( ::std::move(params), ::std::move(impl_type), ::std::move(trait_type) );
// A sequence of method implementations
while( GET_TOK(tok, lex) != TOK_BRACE_CLOSE )