]> git.proxmox.com Git - rustc.git/blame - src/test/rustdoc/intra-doc/mod-relative.rs
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / rustdoc / intra-doc / mod-relative.rs
CommitLineData
5099ac24
FG
1pub mod wrapper {
2
3 pub struct Test<'a> {
4 data: &'a (),
5 }
6
7 impl<'a> Test<'a> {
8 pub fn do_test(&self) {}
9 }
10
11 // @has mod_relative/wrapper/demo/index.html
12 // @has - '//a/@href' '../struct.Test.html#method.do_test'
13 /// [`Test::do_test`]
14 pub mod demo {
15 }
16
17}