]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/check-styled-link.rs
Migrate `rustc_parse` to derive diagnostics
[rust.git] / tests / rustdoc / check-styled-link.rs
1 #![crate_name = "foo"]
2
3 pub struct Foo;
4
5 // @has foo/struct.Bar.html '//a[@href="struct.Foo.html"]' 'Foo'
6
7 /// Code-styled reference to [`Foo`].
8 pub struct Bar;