summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/check-styled-link.rs
blob: ed4a5ea21374b7b19e1c1b22e149f9e4e4380aeb (plain)
1
2
3
4
5
6
7
8
#![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;