summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/fn-sidebar.rs
blob: 2fe8ebec1c580c4883ac95cfb2b6db580672e303 (plain)
1
2
3
4
5
6
7
8
9
#![crate_name = "foo"]

// @has foo/fn.bar.html
// @has - '//*[@class="sidebar-elems"]' ''
pub fn bar() {}

// @has foo/constant.BAR.html
// @has - '//*[@class="sidebar-elems"]' ''
pub const BAR: u32 = 0;