Skip to content

Commit f301386

Browse files
Update ui tests
1 parent 2873823 commit f301386

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

tests/ui/empty_docs.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#![allow(unused)]
22
#![warn(clippy::empty_docs)]
3+
#![allow(clippy::mixed_attributes_style)]
4+
35
mod outer {
46
//!
57

tests/ui/empty_docs.stderr

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: empty doc comment
2-
--> tests/ui/empty_docs.rs:4:5
2+
--> tests/ui/empty_docs.rs:6:5
33
|
44
LL | //!
55
| ^^^
@@ -9,31 +9,31 @@ LL | //!
99
= help: to override `-D warnings` add `#[allow(clippy::empty_docs)]`
1010

1111
error: empty doc comment
12-
--> tests/ui/empty_docs.rs:12:5
12+
--> tests/ui/empty_docs.rs:14:5
1313
|
1414
LL | ///
1515
| ^^^
1616
|
1717
= help: consider removing or filling it
1818

1919
error: empty doc comment
20-
--> tests/ui/empty_docs.rs:14:9
20+
--> tests/ui/empty_docs.rs:16:9
2121
|
2222
LL | ///
2323
| ^^^
2424
|
2525
= help: consider removing or filling it
2626

2727
error: empty doc comment
28-
--> tests/ui/empty_docs.rs:25:5
28+
--> tests/ui/empty_docs.rs:27:5
2929
|
3030
LL | #[doc = ""]
3131
| ^^^^^^^^^^^
3232
|
3333
= help: consider removing or filling it
3434

3535
error: empty doc comment
36-
--> tests/ui/empty_docs.rs:28:5
36+
--> tests/ui/empty_docs.rs:30:5
3737
|
3838
LL | / #[doc = ""]
3939
LL | | #[doc = ""]
@@ -42,31 +42,31 @@ LL | | #[doc = ""]
4242
= help: consider removing or filling it
4343

4444
error: empty doc comment
45-
--> tests/ui/empty_docs.rs:35:5
45+
--> tests/ui/empty_docs.rs:37:5
4646
|
4747
LL | ///
4848
| ^^^
4949
|
5050
= help: consider removing or filling it
5151

5252
error: empty doc comment
53-
--> tests/ui/empty_docs.rs:48:13
53+
--> tests/ui/empty_docs.rs:50:13
5454
|
5555
LL | /*! */
5656
| ^^^^^^
5757
|
5858
= help: consider removing or filling it
5959

6060
error: empty doc comment
61-
--> tests/ui/empty_docs.rs:56:13
61+
--> tests/ui/empty_docs.rs:58:13
6262
|
6363
LL | ///
6464
| ^^^
6565
|
6666
= help: consider removing or filling it
6767

6868
error: empty doc comment
69-
--> tests/ui/empty_docs.rs:64:9
69+
--> tests/ui/empty_docs.rs:66:9
7070
|
7171
LL | ///
7272
| ^^^

0 commit comments

Comments
 (0)