Skip to content

Commit

Permalink
Add (broken and ignored) test for rust-lang#73829
Browse files Browse the repository at this point in the history
  • Loading branch information
jyn514 committed Jul 16, 2020
1 parent 0ad1dcd commit 8387e38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/rustdoc/intra-doc-crate/auxiliary/traits.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![crate_name = "inner"]
/// this is a trait
pub trait SomeTrait {
/// this is a method for [SomeTrait]
/// this is a method for [a trait][SomeTrait]
fn foo();
}

Expand Down
4 changes: 3 additions & 1 deletion src/test/rustdoc/intra-doc-crate/traits.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// ignore-test
// ^ this is https://github.com/rust-lang/rust/issues/73829
// aux-build:traits.rs
// build-aux-docs
// ignore-tidy-line-length
Expand All @@ -10,6 +12,6 @@ pub struct SomeStruct;

// @has 'traits/struct.SomeStruct.html' '//a[@href="../inner/trait.SomeTrait.html"]' 'SomeTrait'
impl SomeTrait for SomeStruct {
// @has 'traits/struct.SomeStruct.html' '//a[@href="../inner/trait.SomeTrait.html"]' 'SomeTrait'
// @has 'traits/struct.SomeStruct.html' '//a[@href="../inner/trait.SomeTrait.html"]' 'a trait'
fn foo() {}
}

0 comments on commit 8387e38

Please sign in to comment.