]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/missing-doc-impl.stderr
Auto merge of #93397 - joshtriplett:sort-floats, r=Amanieu
[rust.git] / src / tools / clippy / 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 an associated function
55   --> $DIR/missing-doc-impl.rs:39:5
56    |
57 LL |     fn foo(&self);
58    |     ^^^^^^^^^^^^^^
59
60 error: missing documentation for an associated function
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 an associated function
79   --> $DIR/missing-doc-impl.rs:62:5
80    |
81 LL | /     pub fn new() -> Self {
82 LL | |         Foo { a: 0, b: 0 }
83 LL | |     }
84    | |_____^
85
86 error: missing documentation for an associated function
87   --> $DIR/missing-doc-impl.rs:65:5
88    |
89 LL |     fn bar() {}
90    |     ^^^^^^^^^^^
91
92 error: missing documentation for an associated function
93   --> $DIR/missing-doc-impl.rs:69:5
94    |
95 LL |     pub fn foo() {}
96    |     ^^^^^^^^^^^^^^^
97
98 error: missing documentation for an associated function
99   --> $DIR/missing-doc-impl.rs:73:5
100    |
101 LL | /     fn foo2() -> u32 {
102 LL | |         1
103 LL | |     }
104    | |_____^
105
106 error: aborting due to 15 previous errors
107