rust/tests/ui/empty_line_after_outer_attribute.stderr

20 lines
603 B
Plaintext
Raw Normal View History

error: Found an empty line after an outer attribute. Perhaps you forgot to add a '!' to make it an inner attribute?
--> $DIR/empty_line_after_outer_attribute.rs:5:1
|
5 | / #[crate_type = "lib"]
6 | |
7 | | fn with_one_newline() { assert!(true) }
| |_
|
= note: `-D empty-line-after-outer-attr` implied by `-D warnings`
error: Found an empty line after an outer attribute. Perhaps you forgot to add a '!' to make it an inner attribute?
--> $DIR/empty_line_after_outer_attribute.rs:10:1
|
10 | / #[crate_type = "lib"]
11 | |
12 | |
13 | | fn with_two_newlines() { assert!(true) }
| |_