Skip to content

Commit 8387e38

Browse files
committed
Add (broken and ignored) test for rust-lang#73829
1 parent 0ad1dcd commit 8387e38

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/test/rustdoc/intra-doc-crate/auxiliary/traits.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#![crate_name = "inner"]
22
/// this is a trait
33
pub trait SomeTrait {
4-
/// this is a method for [SomeTrait]
4+
/// this is a method for [a trait][SomeTrait]
55
fn foo();
66
}
77

src/test/rustdoc/intra-doc-crate/traits.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore-test
2+
// ^ this is https://github.com/rust-lang/rust/issues/73829
13
// aux-build:traits.rs
24
// build-aux-docs
35
// ignore-tidy-line-length
@@ -10,6 +12,6 @@ pub struct SomeStruct;
1012

1113
// @has 'traits/struct.SomeStruct.html' '//a[@href="../inner/trait.SomeTrait.html"]' 'SomeTrait'
1214
impl SomeTrait for SomeStruct {
13-
// @has 'traits/struct.SomeStruct.html' '//a[@href="../inner/trait.SomeTrait.html"]' 'SomeTrait'
15+
// @has 'traits/struct.SomeStruct.html' '//a[@href="../inner/trait.SomeTrait.html"]' 'a trait'
1416
fn foo() {}
1517
}

0 commit comments

Comments
 (0)