From 9a27307479bc9685b19ab2dcaa3d734f3dc1ff29 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 11 Sep 2016 15:45:31 +0800 Subject: Expand/lang - libcollections impl lang items --- src/expand/lang_item.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/expand/lang_item.cpp b/src/expand/lang_item.cpp index 83aaf6a9..8e5bb350 100644 --- a/src/expand/lang_item.cpp +++ b/src/expand/lang_item.cpp @@ -146,8 +146,8 @@ public: // rustc_unicode else if( name == "char" ) {} // collections - //else if( name == "str" ) {} - //else if( name == "slice" ) {} + else if( name == "str" ) {} + else if( name == "slice" ) {} else { ERROR(sp, E0000, "Unknown lang item '" << name << "' on impl"); } -- cgit v1.2.3