]> git.lizzy.rs Git - rust.git/blob - tests/ui/empty_line_after_outer_attribute.stderr
Warn on empty lines after outer attributes
[rust.git] / tests / ui / empty_line_after_outer_attribute.stderr
1 error: Found an empty line after an outer attribute. Perhaps you forgot to add a '!' to make it an inner attribute?
2  --> $DIR/empty_line_after_outer_attribute.rs:5:1
3   |
4 5 | / #[crate_type = "lib"]
5 6 | |
6 7 | | fn with_one_newline() { assert!(true) }
7   | |_
8   |
9   = note: `-D empty-line-after-outer-attr` implied by `-D warnings`
10
11 error: Found an empty line after an outer attribute. Perhaps you forgot to add a '!' to make it an inner attribute?
12   --> $DIR/empty_line_after_outer_attribute.rs:10:1
13    |
14 10 | / #[crate_type = "lib"]
15 11 | |
16 12 | |
17 13 | | fn with_two_newlines() { assert!(true) }
18    | |_
19