summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 << "'");