summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-09-07 11:41:22 +0800
committerJohn Hodge <tpg@mutabah.net>2016-09-07 11:41:22 +0800
commit0c7de5108939411a7bca6c1bbacacb226dd85039 (patch)
tree338d23463ced7c6f6f1376c3483bb7fb46c5d532 /src
parent91dca07b665f05b4468378f922d630139b72f1fa (diff)
downloadmrust-0c7de5108939411a7bca6c1bbacacb226dd85039.tar.gz
Expand Lang - "char" lang item
Diffstat (limited to 'src')
-rw-r--r--src/expand/lang_item.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/expand/lang_item.cpp b/src/expand/lang_item.cpp
index 9c2e7d03..83aaf6a9 100644
--- a/src/expand/lang_item.cpp
+++ b/src/expand/lang_item.cpp
@@ -143,6 +143,11 @@ public:
else if( name == "usize" ) {}
else if( name == "const_ptr" ) {}
else if( name == "mut_ptr" ) {}
+ // rustc_unicode
+ else if( name == "char" ) {}
+ // collections
+ //else if( name == "str" ) {}
+ //else if( name == "slice" ) {}
else {
ERROR(sp, E0000, "Unknown lang item '" << name << "' on impl");
}