1 2 3 4 5 6 7 8 9
// check-pass #![crate_type = "lib"] #![deny(invalid_doc_attributes)] #![doc(test(no_crate_inject))] #![doc(test(attr(deny(warnings))))] #![doc(test())] pub fn foo() {}