rust/tests/rustdoc-ui/doc-test-attr-pass.rs

9 lines
155 B
Rust
Raw Normal View History

// check-pass
#![crate_type = "lib"]
#![deny(invalid_doc_attributes)]
#![doc(test(no_crate_inject))]
#![doc(test(attr(deny(warnings))))]
pub fn foo() {}