]> git.lizzy.rs Git - rust.git/blob - tests/ui/missing-doc-impl.stderr
Auto merge of #68717 - petrochenkov:stabexpat, r=varkor
[rust.git] / tests / ui / missing-doc-impl.stderr
1 error: missing documentation for a struct
2   --> $DIR/missing-doc-impl.rs:8:1
3    |
4 LL | / struct Foo {
5 LL | |     a: isize,
6 LL | |     b: isize,
7 LL | | }
8    | |_^
9    |
10    = note: `-D clippy::missing-docs-in-private-items` implied by `-D warnings`
11
12 error: missing documentation for a struct field
13   --> $DIR/missing-doc-impl.rs:9:5
14    |
15 LL |     a: isize,
16    |     ^^^^^^^^
17
18 error: missing documentation for a struct field
19   --> $DIR/missing-doc-impl.rs:10:5
20    |
21 LL |     b: isize,
22    |     ^^^^^^^^
23
24 error: missing documentation for a struct
25   --> $DIR/missing-doc-impl.rs:13:1
26    |
27 LL | / pub struct PubFoo {
28 LL | |     pub a: isize,
29 LL | |     b: isize,
30 LL | | }
31    | |_^
32
33 error: missing documentation for a struct field
34   --> $DIR/missing-doc-impl.rs:14:5
35    |
36 LL |     pub a: isize,
37    |     ^^^^^^^^^^^^
38
39 error: missing documentation for a struct field
40   --> $DIR/missing-doc-impl.rs:15:5
41    |
42 LL |     b: isize,
43    |     ^^^^^^^^
44
45 error: missing documentation for a trait
46   --> $DIR/missing-doc-impl.rs:38:1
47    |
48 LL | / pub trait C {
49 LL | |     fn foo(&self);
50 LL | |     fn foo_with_impl(&self) {}
51 LL | | }
52    | |_^
53
54 error: missing documentation for a trait method
55   --> $DIR/missing-doc-impl.rs:39:5
56    |
57 LL |     fn foo(&self);
58    |     ^^^^^^^^^^^^^^
59
60 error: missing documentation for a trait method
61   --> $DIR/missing-doc-impl.rs:40:5
62    |
63 LL |     fn foo_with_impl(&self) {}
64    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
65
66 error: missing documentation for an associated type
67   --> $DIR/missing-doc-impl.rs:50:5
68    |
69 LL |     type AssociatedType;
70    |     ^^^^^^^^^^^^^^^^^^^^
71
72 error: missing documentation for an associated type
73   --> $DIR/missing-doc-impl.rs:51:5
74    |
75 LL |     type AssociatedTypeDef = Self;
76    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
77
78 error: missing documentation for a method
79   --> $DIR/missing-doc-impl.rs:62:5
80    |
81 LL |     pub fn foo() {}
82    |     ^^^^^^^^^^^^^^^
83
84 error: missing documentation for a method
85   --> $DIR/missing-doc-impl.rs:63:5
86    |
87 LL |     fn bar() {}
88    |     ^^^^^^^^^^^
89
90 error: missing documentation for a method
91   --> $DIR/missing-doc-impl.rs:67:5
92    |
93 LL |     pub fn foo() {}
94    |     ^^^^^^^^^^^^^^^
95
96 error: missing documentation for a method
97   --> $DIR/missing-doc-impl.rs:70:5
98    |
99 LL |     fn foo2() {}
100    |     ^^^^^^^^^^^^
101
102 error: aborting due to 15 previous errors
103