rust/tests/rustdoc/intra-doc/enum-self-82209.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
292 B
Rust
Raw Normal View History

2025-01-29 18:20:22 +00:00
// https://github.com/rust-lang/rust/issues/82209
#![crate_name = "foo"]
#![deny(rustdoc::broken_intra_doc_links)]
pub enum Foo {
Bar {
abc: i32,
/// [Self::Bar::abc]
xyz: i32,
},
}
//@ has foo/enum.Foo.html '//a/@href' 'enum.Foo.html#variant.Bar.field.abc'