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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
156 B
Rust
Raw Permalink 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() {}