From c971a6fa8375598ecf9c99ee6b086e8cf957f568 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 29 Jul 2018 12:47:44 +0100 Subject: All - Initial work on supporting 1.29 as a target version --- src/expand/lang_item.cpp | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src/expand/lang_item.cpp') diff --git a/src/expand/lang_item.cpp b/src/expand/lang_item.cpp index 789ad88e..62527ac9 100644 --- a/src/expand/lang_item.cpp +++ b/src/expand/lang_item.cpp @@ -30,6 +30,7 @@ void handle_lang_item(const Span& sp, AST::Crate& crate, const AST::Path& path, else if( name == "copy" ) { DEBUG("Bind 'copy' to " << path); } + else if( TARGETVER_1_29 && name == "clone" ) {} // - Trait // ops traits else if( name == "drop" ) { DEBUG("Bind '"<