rust/tests/ui/rustdoc/doc-test-attr-pass.rs
2024-02-16 20:02:50 +00:00

10 lines
172 B
Rust

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