about summary refs log tree commit diff
path: root/src/test/rustdoc
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <edy.burt@gmail.com>2019-04-20 18:27:44 +0300
committerEduard-Mihai Burtescu <edy.burt@gmail.com>2019-04-30 12:55:38 +0300
commitc835607907a6f7ed59938b591b50774872d9ac13 (patch)
treedf2976d683c0de839ee264af7bf7cffc541d4f47 /src/test/rustdoc
parentf843ad60ef5a78d8b4da85c5007d3ecac229f1a8 (diff)
downloadrust-c835607907a6f7ed59938b591b50774872d9ac13.tar.gz
rust-c835607907a6f7ed59938b591b50774872d9ac13.zip
rustdoc: remove def_ctor hack.
Diffstat (limited to 'src/test/rustdoc')
-rw-r--r--src/test/rustdoc/blanket-reexport-item.rs2
-rw-r--r--src/test/rustdoc/issue-34473.rs1
-rw-r--r--src/test/rustdoc/synthetic_auto/complex.rs2
3 files changed, 2 insertions, 3 deletions
diff --git a/src/test/rustdoc/blanket-reexport-item.rs b/src/test/rustdoc/blanket-reexport-item.rs
index a1db90d7606..f247ee637b9 100644
--- a/src/test/rustdoc/blanket-reexport-item.rs
+++ b/src/test/rustdoc/blanket-reexport-item.rs
@@ -1,6 +1,6 @@
 #![crate_name = "foo"]
 
-// @has foo/struct.S.html '//h3[@id="impl-Into"]//code' 'impl<T, U> Into for T'
+// @has foo/struct.S.html '//h3[@id="impl-Into%3CU%3E"]//code' 'impl<T, U> Into<U> for T'
 pub struct S2 {}
 mod m {
     pub struct S {}
diff --git a/src/test/rustdoc/issue-34473.rs b/src/test/rustdoc/issue-34473.rs
index 3f824e64044..d96301f3ae7 100644
--- a/src/test/rustdoc/issue-34473.rs
+++ b/src/test/rustdoc/issue-34473.rs
@@ -7,6 +7,5 @@ mod second {
 // @has foo/index.html
 // @!has - SomeTypeWithLongName
 // @has foo/struct.SomeType.html
-// @!has - SomeTypeWithLongName
 // @!has foo/struct.SomeTypeWithLongName.html
 pub use second::{SomeTypeWithLongName as SomeType};
diff --git a/src/test/rustdoc/synthetic_auto/complex.rs b/src/test/rustdoc/synthetic_auto/complex.rs
index 609cefc7115..80a717718c2 100644
--- a/src/test/rustdoc/synthetic_auto/complex.rs
+++ b/src/test/rustdoc/synthetic_auto/complex.rs
@@ -21,7 +21,7 @@ mod foo {
 
 // @has complex/struct.NotOuter.html
 // @has - '//*[@id="synthetic-implementations-list"]/*[@class="impl"]//code' "impl<'a, T, K: \
-// ?Sized> Send for NotOuter<'a, T, K> where K: for<'b> Fn((&'b bool, &'a u8)) \
+// ?Sized> Send for Outer<'a, T, K> where K: for<'b> Fn((&'b bool, &'a u8)) \
 // -> &'b i8, T: MyTrait<'a>, <T as MyTrait<'a>>::MyItem: Copy, 'a: 'static"
 
 pub use foo::{Foo, Inner as NotInner, MyTrait as NotMyTrait, Outer as NotOuter};