summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/expand/lang_item.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/expand/lang_item.cpp b/src/expand/lang_item.cpp
index 8e5bb350..390b50a9 100644
--- a/src/expand/lang_item.cpp
+++ b/src/expand/lang_item.cpp
@@ -148,11 +148,15 @@ public:
// collections
else if( name == "str" ) {}
else if( name == "slice" ) {}
+ // std - interestingly
+ else if( name == "f32" ) {}
+ else if( name == "f64" ) {}
else {
ERROR(sp, E0000, "Unknown lang item '" << name << "' on impl");
}
// TODO: Somehow annotate these impls to allow them to provide inherents?
+ // - mrustc is lazy and inefficient, so these don't matter :)
}
};