mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 17:53:56 +00:00
20 lines
603 B
Plaintext
20 lines
603 B
Plaintext
|
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) }
|
||
|
| |_
|
||
|
|