File tree 2 files changed +4
-2
lines changed
src/test/rustdoc/intra-doc-crate 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
#![ crate_name = "inner" ]
2
2
/// this is a trait
3
3
pub trait SomeTrait {
4
- /// this is a method for [SomeTrait]
4
+ /// this is a method for [a trait][ SomeTrait]
5
5
fn foo ( ) ;
6
6
}
7
7
Original file line number Diff line number Diff line change
1
+ // ignore-test
2
+ // ^ this is https://github.com/rust-lang/rust/issues/73829
1
3
// aux-build:traits.rs
2
4
// build-aux-docs
3
5
// ignore-tidy-line-length
@@ -10,6 +12,6 @@ pub struct SomeStruct;
10
12
11
13
// @has 'traits/struct.SomeStruct.html' '//a[@href="../inner/trait.SomeTrait.html"]' 'SomeTrait'
12
14
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 '
14
16
fn foo ( ) { }
15
17
}
You can’t perform that action at this time.
0 commit comments