summaryrefslogtreecommitdiffstats
path: root/tests/ui/rustdoc/doc-test-attr-pass.rs
blob: 7884addd15fe7f614866066151f7eba2b4f269bb (plain)
1
2
3
4
5
6
7
8
9
// check-pass

#![crate_type = "lib"]
#![deny(invalid_doc_attributes)]
#![doc(test(no_crate_inject))]
#![doc(test(attr(deny(warnings))))]
#![doc(test())]

pub fn foo() {}