|
1 | 1 | error: missing documentation for a type alias |
2 | | - --> $DIR/lint-missing-doc.rs:12:1 |
| 2 | + --> $DIR/lint-missing-doc.rs:16:1 |
3 | 3 | | |
4 | 4 | LL | pub type PubTypedef = String; |
5 | 5 | | ^^^^^^^^^^^^^^^^^^^ |
6 | 6 | | |
7 | 7 | note: the lint level is defined here |
8 | | - --> $DIR/lint-missing-doc.rs:3:9 |
| 8 | + --> $DIR/lint-missing-doc.rs:4:9 |
9 | 9 | | |
10 | 10 | LL | #![deny(missing_docs)] |
11 | 11 | | ^^^^^^^^^^^^ |
12 | 12 |
|
13 | 13 | error: missing documentation for a struct |
14 | | - --> $DIR/lint-missing-doc.rs:19:1 |
| 14 | + --> $DIR/lint-missing-doc.rs:23:1 |
15 | 15 | | |
16 | 16 | LL | pub struct PubFoo { |
17 | 17 | | ^^^^^^^^^^^^^^^^^ |
18 | 18 |
|
19 | 19 | error: missing documentation for a struct field |
20 | | - --> $DIR/lint-missing-doc.rs:20:5 |
| 20 | + --> $DIR/lint-missing-doc.rs:24:5 |
21 | 21 | | |
22 | 22 | LL | pub a: isize, |
23 | 23 | | ^^^^^^^^^^^^ |
24 | 24 |
|
25 | 25 | error: missing documentation for a module |
26 | | - --> $DIR/lint-missing-doc.rs:31:1 |
| 26 | + --> $DIR/lint-missing-doc.rs:35:1 |
27 | 27 | | |
28 | 28 | LL | pub mod pub_module_no_dox {} |
29 | 29 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ |
30 | 30 |
|
31 | 31 | error: missing documentation for a function |
32 | | - --> $DIR/lint-missing-doc.rs:35:1 |
| 32 | + --> $DIR/lint-missing-doc.rs:39:1 |
33 | 33 | | |
34 | 34 | LL | pub fn foo2() {} |
35 | 35 | | ^^^^^^^^^^^^^ |
36 | 36 |
|
37 | 37 | error: missing documentation for a trait |
38 | | - --> $DIR/lint-missing-doc.rs:53:1 |
| 38 | + --> $DIR/lint-missing-doc.rs:57:1 |
39 | 39 | | |
40 | 40 | LL | pub trait C { |
41 | 41 | | ^^^^^^^^^^^ |
42 | 42 |
|
43 | 43 | error: missing documentation for a method |
44 | | - --> $DIR/lint-missing-doc.rs:54:5 |
| 44 | + --> $DIR/lint-missing-doc.rs:58:5 |
45 | 45 | | |
46 | 46 | LL | fn foo(&self); |
47 | 47 | | ^^^^^^^^^^^^^^ |
48 | 48 |
|
49 | 49 | error: missing documentation for a method |
50 | | - --> $DIR/lint-missing-doc.rs:55:5 |
| 50 | + --> $DIR/lint-missing-doc.rs:59:5 |
51 | 51 | | |
52 | 52 | LL | fn foo_with_impl(&self) {} |
53 | 53 | | ^^^^^^^^^^^^^^^^^^^^^^^ |
54 | 54 |
|
55 | 55 | error: missing documentation for an associated function |
56 | | - --> $DIR/lint-missing-doc.rs:56:5 |
| 56 | + --> $DIR/lint-missing-doc.rs:60:5 |
57 | 57 | | |
58 | 58 | LL | fn foo_no_self(); |
59 | 59 | | ^^^^^^^^^^^^^^^^^ |
60 | 60 |
|
61 | 61 | error: missing documentation for an associated function |
62 | | - --> $DIR/lint-missing-doc.rs:57:5 |
| 62 | + --> $DIR/lint-missing-doc.rs:61:5 |
63 | 63 | | |
64 | 64 | LL | fn foo_no_self_with_impl() {} |
65 | 65 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
66 | 66 |
|
67 | 67 | error: missing documentation for an associated type |
68 | | - --> $DIR/lint-missing-doc.rs:67:5 |
| 68 | + --> $DIR/lint-missing-doc.rs:71:5 |
69 | 69 | | |
70 | 70 | LL | type AssociatedType; |
71 | 71 | | ^^^^^^^^^^^^^^^^^^^ |
72 | 72 |
|
73 | 73 | error: missing documentation for an associated type |
74 | | - --> $DIR/lint-missing-doc.rs:68:5 |
| 74 | + --> $DIR/lint-missing-doc.rs:72:5 |
75 | 75 | | |
76 | 76 | LL | type AssociatedTypeDef = Self; |
77 | 77 | | ^^^^^^^^^^^^^^^^^^^^^^ |
78 | 78 |
|
79 | 79 | error: missing documentation for an associated function |
80 | | - --> $DIR/lint-missing-doc.rs:84:5 |
| 80 | + --> $DIR/lint-missing-doc.rs:88:5 |
81 | 81 | | |
82 | 82 | LL | pub fn foo() {} |
83 | 83 | | ^^^^^^^^^^^^ |
84 | 84 |
|
85 | 85 | error: missing documentation for an enum |
86 | | - --> $DIR/lint-missing-doc.rs:121:1 |
| 86 | + --> $DIR/lint-missing-doc.rs:125:1 |
87 | 87 | | |
88 | 88 | LL | pub enum PubBaz { |
89 | 89 | | ^^^^^^^^^^^^^^^ |
90 | 90 |
|
91 | 91 | error: missing documentation for a variant |
92 | | - --> $DIR/lint-missing-doc.rs:122:5 |
| 92 | + --> $DIR/lint-missing-doc.rs:126:5 |
93 | 93 | | |
94 | 94 | LL | PubBazA { |
95 | 95 | | ^^^^^^^ |
96 | 96 |
|
97 | 97 | error: missing documentation for a struct field |
98 | | - --> $DIR/lint-missing-doc.rs:123:9 |
| 98 | + --> $DIR/lint-missing-doc.rs:127:9 |
99 | 99 | | |
100 | 100 | LL | a: isize, |
101 | 101 | | ^^^^^^^^ |
102 | 102 |
|
103 | 103 | error: missing documentation for a constant |
104 | | - --> $DIR/lint-missing-doc.rs:154:1 |
| 104 | + --> $DIR/lint-missing-doc.rs:158:1 |
105 | 105 | | |
106 | 106 | LL | pub const FOO4: u32 = 0; |
107 | 107 | | ^^^^^^^^^^^^^^^^^^^ |
108 | 108 |
|
109 | 109 | error: missing documentation for a static |
110 | | - --> $DIR/lint-missing-doc.rs:164:1 |
| 110 | + --> $DIR/lint-missing-doc.rs:168:1 |
111 | 111 | | |
112 | 112 | LL | pub static BAR4: u32 = 0; |
113 | 113 | | ^^^^^^^^^^^^^^^^^^^^ |
114 | 114 |
|
115 | 115 | error: missing documentation for a function |
116 | | - --> $DIR/lint-missing-doc.rs:170:5 |
| 116 | + --> $DIR/lint-missing-doc.rs:174:5 |
117 | 117 | | |
118 | 118 | LL | pub fn undocumented1() {} |
119 | 119 | | ^^^^^^^^^^^^^^^^^^^^^^ |
120 | 120 |
|
121 | 121 | error: missing documentation for a function |
122 | | - --> $DIR/lint-missing-doc.rs:171:5 |
| 122 | + --> $DIR/lint-missing-doc.rs:175:5 |
123 | 123 | | |
124 | 124 | LL | pub fn undocumented2() {} |
125 | 125 | | ^^^^^^^^^^^^^^^^^^^^^^ |
126 | 126 |
|
127 | 127 | error: missing documentation for a function |
128 | | - --> $DIR/lint-missing-doc.rs:177:9 |
| 128 | + --> $DIR/lint-missing-doc.rs:181:9 |
129 | 129 | | |
130 | 130 | LL | pub fn also_undocumented1() {} |
131 | 131 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
132 | 132 |
|
133 | 133 | error: missing documentation for a function |
134 | | - --> $DIR/lint-missing-doc.rs:192:5 |
| 134 | + --> $DIR/lint-missing-doc.rs:196:5 |
135 | 135 | | |
136 | 136 | LL | pub fn extern_fn_undocumented(f: f32) -> f32; |
137 | 137 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
138 | 138 |
|
139 | 139 | error: missing documentation for a static |
140 | | - --> $DIR/lint-missing-doc.rs:197:5 |
| 140 | + --> $DIR/lint-missing-doc.rs:201:5 |
141 | 141 | | |
142 | 142 | LL | pub static EXTERN_STATIC_UNDOCUMENTED: u8; |
143 | 143 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
144 | 144 |
|
145 | 145 | error: missing documentation for a foreign type |
146 | | - --> $DIR/lint-missing-doc.rs:202:5 |
| 146 | + --> $DIR/lint-missing-doc.rs:206:5 |
147 | 147 | | |
148 | 148 | LL | pub type ExternTyUndocumented; |
149 | 149 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
150 | 150 |
|
151 | 151 | error: missing documentation for a trait alias |
152 | | - --> $DIR/lint-missing-doc.rs:206:1 |
| 152 | + --> $DIR/lint-missing-doc.rs:210:1 |
153 | 153 | | |
154 | 154 | LL | pub trait T = Sync; |
155 | 155 | | ^^^^^^^^^^^ |
|
0 commit comments