File tree 2 files changed +15
-8
lines changed
2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 4
4
pub mod outer_module {
5
5
6
6
//!
7
-
8
7
//! valid doc comment
9
-
10
8
//!!
11
-
12
9
//!! valid doc comment
13
10
14
11
///
15
-
16
12
/// valid doc comment
13
+ ///
14
+ /// valid block doc comment
17
15
18
16
/**
19
17
*
20
18
*/
21
19
22
20
/**
23
21
* valid block doc comment
22
+ *
24
23
*/
25
24
26
25
pub mod inner_module { }
Original file line number Diff line number Diff line change 1
1
error: empty doc comment
2
- --> $DIR/empty_docs.rs:14 :5
2
+ --> $DIR/empty_docs.rs:11 :5
3
3
|
4
4
LL | ///
5
5
| ^^^
@@ -9,7 +9,15 @@ LL | ///
9
9
= help: to override `-D warnings` add `#[allow(clippy::empty_docs)]`
10
10
11
11
error: empty doc comment
12
- --> $DIR/empty_docs.rs:18:5
12
+ --> $DIR/empty_docs.rs:13:5
13
+ |
14
+ LL | ///
15
+ | ^^^
16
+ |
17
+ = help: consider removing or fill it
18
+
19
+ error: empty doc comment
20
+ --> $DIR/empty_docs.rs:16:5
13
21
|
14
22
LL | / /**
15
23
LL | | *
@@ -27,12 +35,12 @@ LL | //!
27
35
= help: consider removing or fill it
28
36
29
37
error: empty doc comment
30
- --> $DIR/empty_docs.rs:10 :5
38
+ --> $DIR/empty_docs.rs:8 :5
31
39
|
32
40
LL | //!!
33
41
| ^^^^
34
42
|
35
43
= help: consider removing or fill it
36
44
37
- error: aborting due to 4 previous errors
45
+ error: aborting due to 5 previous errors
38
46
You can’t perform that action at this time.
0 commit comments