diff options
author | John Hodge <tpg@mutabah.net> | 2018-12-22 21:07:47 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2018-12-22 21:07:47 +0800 |
commit | e842fbbc375907b13b69d0f53de6dc3149804c13 (patch) | |
tree | 9deb82dabf9289d077316c6f9aa237cfaaa6fa4a /src/expand/lang_item.cpp | |
parent | 48c0451b76c6f91ee467d8cac0e0c7fd475c8b46 (diff) | |
download | mrust-e842fbbc375907b13b69d0f53de6dc3149804c13.tar.gz |
Lang items for 1.29 (allocator traits removed, need to do magic)
Diffstat (limited to 'src/expand/lang_item.cpp')
-rw-r--r-- | src/expand/lang_item.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/expand/lang_item.cpp b/src/expand/lang_item.cpp index f59d81c3..55bde52f 100644 --- a/src/expand/lang_item.cpp +++ b/src/expand/lang_item.cpp @@ -215,7 +215,10 @@ public: // collections else if( name == "str" ) {} else if( name == "slice" ) {} - else if( TARGETVER_1_29 && name == "slice_u8" ) {} + else if( TARGETVER_1_29 && name == "slice_u8" ) {} // libcore now, `impl [u8]` + else if( TARGETVER_1_29 && name == "slice_alloc" ) {} // liballoc's impls on [T] + else if( TARGETVER_1_29 && name == "slice_u8_alloc" ) {} // liballoc's impls on [u8] + else if( TARGETVER_1_29 && name == "str_alloc" ) {} // liballoc's impls on str // std - interestingly else if( name == "f32" ) {} else if( name == "f64" ) {} |