about summary refs log tree commit diff
path: root/src/test/rustdoc
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-04-07 21:56:02 +0200
committerSimon Sapin <simon.sapin@exyr.org>2018-04-21 09:47:37 +0200
commitf0705bf033363757a8a2901cd1a7bd76f0fea820 (patch)
treeacf32897096a473c675c4112efcbce258c3c91e2 /src/test/rustdoc
parent90f29fbdb105b65e8ddb2b5c8b834b8db32ef9ef (diff)
downloadrust-f0705bf033363757a8a2901cd1a7bd76f0fea820.tar.gz
rust-f0705bf033363757a8a2901cd1a7bd76f0fea820.zip
Replace StrExt with inherent str methods in libcore
Diffstat (limited to 'src/test/rustdoc')
-rw-r--r--src/test/rustdoc/issue-23511.rs2
1 files changed, 1 insertions, 1 deletions
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) {}