diff options
Diffstat (limited to 'src/test/rustdoc-ui/doc-test-attr-pass.rs')
-rw-r--r-- | src/test/rustdoc-ui/doc-test-attr-pass.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/rustdoc-ui/doc-test-attr-pass.rs b/src/test/rustdoc-ui/doc-test-attr-pass.rs new file mode 100644 index 000000000..12608f244 --- /dev/null +++ b/src/test/rustdoc-ui/doc-test-attr-pass.rs @@ -0,0 +1,8 @@ +// check-pass + +#![crate_type = "lib"] +#![deny(invalid_doc_attributes)] +#![doc(test(no_crate_inject))] +#![doc(test(attr(deny(warnings))))] + +pub fn foo() {} |