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

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

pub fn foo() {}