]> git.proxmox.com Git - rustc.git/blame - src/test/ui/attributes/doc-attr2.rs
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / src / test / ui / attributes / doc-attr2.rs
CommitLineData
6a06907d
XL
1#![crate_type = "lib"]
2#![deny(warnings)]
3
4#[doc(test(no_crate_inject))] //~ ERROR
5//~^ WARN
6pub fn foo() {}
7
8pub mod bar {
9 #![doc(test(no_crate_inject))] //~ ERROR
10 //~^ WARN
11}