summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-10853.rs
blob: 3dcabf9b165361058e6a1fa0e7ec1af5573ee03f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// check-pass
// pretty-expanded FIXME #23616

#![deny(missing_docs)]
#![doc="module"]

#[doc="struct"]
pub struct Foo;

pub fn foo() {
    #![doc="fn"]
}

#[doc="main"]
pub fn main() {}