]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/empty_line_after_outer_attribute.stderr
Auto merge of #84620 - Dylan-DPC:rollup-wkv97im, r=Dylan-DPC
[rust.git] / src / tools / clippy / 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:11: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:23: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:28: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:35: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:43: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:51:1
47    |
48 LL | / #[crate_type = "lib"]
49 LL | |
50 LL | | mod foo {
51    | |_
52
53 error: aborting due to 6 previous errors
54