2 #![deny(missing_doc_code_examples)]
13 /// println!("hello");
18 #[allow(missing_docs)]
19 mod module1 { //~ ERROR
22 #[allow(missing_doc_code_examples)]
33 /// println!("hello");
42 /// Doc, but no code example and it's fine!
43 pub const Const: u32 = 0;
44 /// Doc, but no code example and it's fine!
45 pub static Static: u32 = 0;
46 /// Doc, but no code example and it's fine!
52 /// Doc, but no code example and it's fine!
59 /// Doc, but no code example and it's fine!
67 /// Doc, but no code example and it's fine!
69 /// Doc, but no code example and it's fine!