Skip to content

Commit 5835f6d

Browse files
Move test file, add test of generated link
1 parent 02cc850 commit 5835f6d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/rustdoc/issue-82209.rs renamed to src/test/rustdoc/intra-doc/issue-82209.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![crate_name = "foo"]
12
#![deny(broken_intra_doc_links)]
23
pub enum Foo {
34
Bar {
@@ -6,3 +7,5 @@ pub enum Foo {
67
xyz: i32,
78
},
89
}
10+
11+
// @has foo/enum.Foo.html '//a/@href' '../foo/enum.Foo.html#variant.Bar.field.abc'

0 commit comments

Comments
 (0)