blob: 999ff06f593e99e4dd9155870cb2e5b5eb42be12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
error: missing documentation for a struct
--> tests/ui/missing_doc_impl.rs:13:1
|
LL | / struct Foo {
LL | |
LL | | a: isize,
... |
LL | | }
| |_^
|
= note: `-D clippy::missing-docs-in-private-items` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::missing_docs_in_private_items)]`
error: missing documentation for a struct field
--> tests/ui/missing_doc_impl.rs:15:5
|
LL | a: isize,
| ^^^^^^^^
error: missing documentation for a struct field
--> tests/ui/missing_doc_impl.rs:17:5
|
LL | b: isize,
| ^^^^^^^^
error: missing documentation for a struct field
--> tests/ui/missing_doc_impl.rs:23:5
|
LL | b: isize,
| ^^^^^^^^
error: missing documentation for an associated function
--> tests/ui/missing_doc_impl.rs:71:5
|
LL | / pub fn new() -> Self {
LL | |
LL | | Foo { a: 0, b: 0 }
LL | | }
| |_____^
error: missing documentation for an associated function
--> tests/ui/missing_doc_impl.rs:75:5
|
LL | fn bar() {}
| ^^^^^^^^^^^
error: missing documentation for an associated function
--> tests/ui/missing_doc_impl.rs:84:5
|
LL | / fn foo2() -> u32 {
LL | |
LL | | 1
LL | | }
| |_____^
error: aborting due to 7 previous errors
|