]> git.lizzy.rs Git - rust.git/blob - tests/ui/empty_line_after_outer_attribute.stderr
Merge branch 'master' into rustfmt_tests
[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:13:1
3    |
4 13 | / #[crate_type = "lib"]
5 14 | |
6 15 | | /// some comment
7 16 | | 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:25:1
14    |
15 25 | / #[crate_type = "lib"]
16 26 | |
17 27 | | 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:30:1
22    |
23 30 | / #[crate_type = "lib"]
24 31 | |
25 32 | |
26 33 | | 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:37:1
31    |
32 37 | / #[crate_type = "lib"]
33 38 | |
34 39 | | 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:45:1
39    |
40 45 | / #[crate_type = "lib"]
41 46 | |
42 47 | | 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:53:1
47    |
48 53 | / #[crate_type = "lib"]
49 54 | |
50 55 | | mod foo {
51    | |_
52
53 error: aborting due to 6 previous errors
54