summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-08-27 21:03:52 +0800
committerJohn Hodge <tpg@mutabah.net>2016-08-27 21:03:52 +0800
commit87c547878f2907787acca9f7113e5b07849887b9 (patch)
tree3d429ecac67a021c3c0311c200c51c7c4a70671d /src
parent24ae095759af324764075dc858f141c2e5b4be75 (diff)
downloadmrust-87c547878f2907787acca9f7113e5b07849887b9.tar.gz
Expand - Extra language items!
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 6d90370a..9c2e7d03 100644
--- a/src/expand/lang_item.cpp
+++ b/src/expand/lang_item.cpp
@@ -89,6 +89,11 @@ void handle_lang_item(const Span& sp, AST::Crate& crate, const AST::Path& path,
else if( name == "panic_bounds_check" ) { }
else if( name == "panic_fmt" ) { }
else if( name == "str_eq" ) { }
+ // - builtin `box` support
+ else if( name == "exchange_malloc" ) { }
+ else if( name == "exchange_free" ) { }
+ else if( name == "box_free" ) { }
+ else if( name == "owned_box" ) { }
else {
ERROR(sp, E0000, "Unknown language item '" << name << "'");