Move contents of libstd_unicode into libcore

This commit is contained in:
Simon Sapin 2018-04-05 17:09:28 +02:00
parent f87d4a15a8
commit 5807be7ccb
10 changed files with 56 additions and 59 deletions

View file

@ -15,9 +15,9 @@
#![no_std]
// OK
#[lang = "char"]
impl char {}
#[lang = "str"]
impl str {}
impl char {
//~^ error: only a single inherent implementation marked with `#[lang = "char"]` is allowed for the `char` primitive
impl str {
//~^ error: only a single inherent implementation marked with `#[lang = "str"]` is allowed for the `str` primitive
}