rust/tests/rustdoc/check-styled-link.rs
2023-01-11 09:32:08 +00:00

9 lines
161 B
Rust

#![crate_name = "foo"]
pub struct Foo;
// @has foo/struct.Bar.html '//a[@href="struct.Foo.html"]' 'Foo'
/// Code-styled reference to [`Foo`].
pub struct Bar;