File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/test/rustdoc/intra-doc-crate Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11#![ crate_name = "inner" ]
22/// this is a trait
33pub trait SomeTrait {
4- /// this is a method for [SomeTrait]
4+ /// this is a method for [a trait][ SomeTrait]
55 fn foo ( ) ;
66}
77
Original file line number Diff line number Diff line change 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'
1214impl 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}
You can’t perform that action at this time.
0 commit comments