2 #![warn(empty_line_after_outer_attr)]
4 // This should produce a warning
8 fn with_one_newline_and_comment() { assert!(true) }
10 // This should not produce a warning
13 fn with_no_newline_and_comment() { assert!(true) }
16 // This should produce a warning
19 fn with_one_newline() { assert!(true) }
21 // This should produce a warning, too
25 fn with_two_newlines() { assert!(true) }
28 // This should produce a warning
36 // This should produce a warning
44 // This should produce a warning
50 // This should not produce a warning
51 #[allow(non_camel_case_types)]
52 #[allow(missing_docs)]
53 #[allow(missing_docs)]
54 fn three_attributes() { assert!(true) }