1 error: missing documentation for a struct
2 --> $DIR/missing-doc-impl.rs:8:1
10 = note: `-D clippy::missing-docs-in-private-items` implied by `-D warnings`
12 error: missing documentation for a struct field
13 --> $DIR/missing-doc-impl.rs:9:5
18 error: missing documentation for a struct field
19 --> $DIR/missing-doc-impl.rs:10:5
24 error: missing documentation for a struct
25 --> $DIR/missing-doc-impl.rs:13:1
27 LL | / pub struct PubFoo {
33 error: missing documentation for a struct field
34 --> $DIR/missing-doc-impl.rs:14:5
39 error: missing documentation for a struct field
40 --> $DIR/missing-doc-impl.rs:15:5
45 error: missing documentation for a trait
46 --> $DIR/missing-doc-impl.rs:38:1
50 LL | | fn foo_with_impl(&self) {}
54 error: missing documentation for an associated function
55 --> $DIR/missing-doc-impl.rs:39:5
60 error: missing documentation for an associated function
61 --> $DIR/missing-doc-impl.rs:40:5
63 LL | fn foo_with_impl(&self) {}
64 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
66 error: missing documentation for an associated type
67 --> $DIR/missing-doc-impl.rs:50:5
69 LL | type AssociatedType;
70 | ^^^^^^^^^^^^^^^^^^^^
72 error: missing documentation for an associated type
73 --> $DIR/missing-doc-impl.rs:51:5
75 LL | type AssociatedTypeDef = Self;
76 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
78 error: missing documentation for an associated function
79 --> $DIR/missing-doc-impl.rs:62:5
81 LL | / pub fn new() -> Self {
82 LL | | Foo { a: 0, b: 0 }
86 error: missing documentation for an associated function
87 --> $DIR/missing-doc-impl.rs:65:5
92 error: missing documentation for an associated function
93 --> $DIR/missing-doc-impl.rs:69:5
98 error: missing documentation for an associated function
99 --> $DIR/missing-doc-impl.rs:73:5
101 LL | / fn foo2() -> u32 {
106 error: aborting due to 15 previous errors