summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-09-11 15:45:31 +0800
committerJohn Hodge <tpg@mutabah.net>2016-09-11 15:45:31 +0800
commit9a27307479bc9685b19ab2dcaa3d734f3dc1ff29 (patch)
tree2d26b27655f0a4d9a53b897820613ebb1bb398a3 /src
parented7616f4ca8383e8b98aa65877e05c144dafc4de (diff)
downloadmrust-9a27307479bc9685b19ab2dcaa3d734f3dc1ff29.tar.gz
Expand/lang - libcollections impl lang items
Diffstat (limited to 'src')
-rw-r--r--src/expand/lang_item.cpp4
1 files changed, 2 insertions, 2 deletions
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");
}