]> git.lizzy.rs Git - rust.git/blob - tests/ui/empty_line_after_outer_attribute.stderr
Merge pull request #3285 from devonhollowood/pedantic-dogfood-items-after-statements
[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:15:1
3    |
4 15 | / #[crate_type = "lib"]
5 16 | |
6 17 | | /// some comment
7 18 | | 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:27:1
14    |
15 27 | / #[crate_type = "lib"]
16 28 | |
17 29 | | 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:32:1
22    |
23 32 | / #[crate_type = "lib"]
24 33 | |
25 34 | |
26 35 | | 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:39:1
31    |
32 39 | / #[crate_type = "lib"]
33 40 | |
34 41 | | 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:47:1
39    |
40 47 | / #[crate_type = "lib"]
41 48 | |
42 49 | | 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:55:1
47    |
48 55 | / #[crate_type = "lib"]
49 56 | |
50 57 | | mod foo {
51    | |_
52
53 error: aborting due to 6 previous errors
54