summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/no-crate-level-doc-lint.rs
blob: a186410acf483c819cee69576f3e9baeedca1801 (plain)
1
2
3
4
5
6
// error-pattern: no documentation found
// normalize-stderr-test: "nightly|beta|1\.[0-9][0-9]\.[0-9]" -> "$$CHANNEL"
#![deny(rustdoc::missing_crate_level_docs)]
//^~ NOTE defined here

pub fn foo() {}