remove now unnecessary lang items

This commit is contained in:
lcnr
2022-03-15 16:56:28 +01:00
parent 983c12f7f6
commit afbecc0f68
18 changed files with 51 additions and 90 deletions

View File

@@ -130,7 +130,7 @@ fn slice_error_fail_rt(s: &str, begin: usize, end: usize) -> ! {
);
}
#[lang = "str"]
#[cfg_attr(bootstrap, lang = "str")]
#[cfg(not(test))]
impl str {
/// Returns the length of `self`.