Add (broken and ignored) test for #73829
This commit is contained in:
parent
0ad1dcd6a0
commit
8387e3825f
2 changed files with 4 additions and 2 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -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() {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue