Closed
Description
The program
//! whatever
#[link(name="test")];
#[feature(macro_rules)];
#[warn(missing_doc)];
#[doc="foo"]
pub struct Foo;
throws a warning when processed:
~ ❯ rustdoc test.rs
test.rs:8:0: 8:15 warning: missing documentation for a struct
test.rs:8 pub struct Foo;
^~~~~~~~~~~~~~~
test.rs:5:7: 5:18 note: lint level defined here
test.rs:5 #[warn(missing_doc)];
^~~~~~~~~~~