]> git.lizzy.rs Git - rust.git/blob - tests/ui/empty_line_after_outer_attribute.stderr
Auto merge of #68717 - petrochenkov:stabexpat, r=varkor
[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:7:1
3    |
4 LL | / #[crate_type = "lib"]
5 LL | |
6 LL | | /// some comment
7 LL | | fn with_one_newline_and_comment() { assert!(true) }
8    | |_
9    |
10    = note: `-D clippy::empty-line-after-outer-attr` implied by `-D warnings`
11
12 error: Found an empty line after an outer attribute. Perhaps you forgot to add a `!` to make it an inner attribute?
13   --> $DIR/empty_line_after_outer_attribute.rs:19:1
14    |
15 LL | / #[crate_type = "lib"]
16 LL | |
17 LL | | fn with_one_newline() { assert!(true) }
18    | |_
19
20 error: Found an empty line after an outer attribute. Perhaps you forgot to add a `!` to make it an inner attribute?
21   --> $DIR/empty_line_after_outer_attribute.rs:24:1
22    |
23 LL | / #[crate_type = "lib"]
24 LL | |
25 LL | |
26 LL | | fn with_two_newlines() { assert!(true) }
27    | |_
28
29 error: Found an empty line after an outer attribute. Perhaps you forgot to add a `!` to make it an inner attribute?
30   --> $DIR/empty_line_after_outer_attribute.rs:31:1
31    |
32 LL | / #[crate_type = "lib"]
33 LL | |
34 LL | | enum Baz {
35    | |_
36
37 error: Found an empty line after an outer attribute. Perhaps you forgot to add a `!` to make it an inner attribute?
38   --> $DIR/empty_line_after_outer_attribute.rs:39:1
39    |
40 LL | / #[crate_type = "lib"]
41 LL | |
42 LL | | struct Foo {
43    | |_
44
45 error: Found an empty line after an outer attribute. Perhaps you forgot to add a `!` to make it an inner attribute?
46   --> $DIR/empty_line_after_outer_attribute.rs:47:1
47    |
48 LL | / #[crate_type = "lib"]
49 LL | |
50 LL | | mod foo {
51    | |_
52
53 error: aborting due to 6 previous errors
54