]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/fn-sidebar.rs
Rollup merge of #106951 - tmiasko:rm-simplify-initial, r=oli-obk
[rust.git] / tests / rustdoc / fn-sidebar.rs
1 #![crate_name = "foo"]
2
3 // @has foo/fn.bar.html
4 // @has - '//*[@class="sidebar-elems"]' ''
5 pub fn bar() {}
6
7 // @has foo/constant.BAR.html
8 // @has - '//*[@class="sidebar-elems"]' ''
9 pub const BAR: u32 = 0;