Move contents of libstd_unicode into libcore
This commit is contained in:
parent
f87d4a15a8
commit
5807be7ccb
10 changed files with 56 additions and 59 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue