From f0705bf033363757a8a2901cd1a7bd76f0fea820 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Sat, 7 Apr 2018 21:56:02 +0200 Subject: Replace StrExt with inherent str methods in libcore --- src/test/compile-fail/single-primitive-inherent-impl.rs | 2 +- src/test/rustdoc/issue-23511.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test') diff --git a/src/test/compile-fail/single-primitive-inherent-impl.rs b/src/test/compile-fail/single-primitive-inherent-impl.rs index 365387c3e5e..0a0f9ce4bd1 100644 --- a/src/test/compile-fail/single-primitive-inherent-impl.rs +++ b/src/test/compile-fail/single-primitive-inherent-impl.rs @@ -15,7 +15,7 @@ #![no_std] // OK -#[lang = "str"] +#[lang = "str_alloc"] impl str {} impl str { diff --git a/src/test/rustdoc/issue-23511.rs b/src/test/rustdoc/issue-23511.rs index 50c31d309ee..ee0a5c1aa1b 100644 --- a/src/test/rustdoc/issue-23511.rs +++ b/src/test/rustdoc/issue-23511.rs @@ -14,7 +14,7 @@ pub mod str { #![doc(primitive = "str")] - #[lang = "str"] + #[lang = "str_alloc"] impl str { // @has search-index.js foo pub fn foo(&self) {} -- cgit 1.4.1-3-g733a5