]> git.lizzy.rs Git - rust.git/blob - tests/ui/empty_line_after_outer_attribute.stderr
Merge pull request #2984 from flip1995/single_char_pattern
[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:5:1
3   |
4 5 | / #[crate_type = "lib"]
5 6 | |
6 7 | | /// some comment
7 8 | | fn with_one_newline_and_comment() { assert!(true) }
8   | |_
9   |
10   = note: `-D 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:17:1
14    |
15 17 | / #[crate_type = "lib"]
16 18 | |
17 19 | | 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:22:1
22    |
23 22 | / #[crate_type = "lib"]
24 23 | |
25 24 | |
26 25 | | 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:29:1
31    |
32 29 | / #[crate_type = "lib"]
33 30 | |
34 31 | | 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:37:1
39    |
40 37 | / #[crate_type = "lib"]
41 38 | |
42 39 | | 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:45:1
47    |
48 45 | / #[crate_type = "lib"]
49 46 | |
50 47 | | mod foo {
51    | |_
52
53 error: aborting due to 6 previous errors
54