2020-01-08 18:04:53 -06:00
|
|
|
error: missing documentation for a struct
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/missing_doc_impl.rs:13:1
|
2020-01-08 18:04:53 -06:00
|
|
|
|
|
|
|
|
LL | / struct Foo {
|
|
|
|
LL | | a: isize,
|
|
|
|
LL | | b: isize,
|
|
|
|
LL | | }
|
|
|
|
| |_^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::missing-docs-in-private-items` implied by `-D warnings`
|
2023-08-01 07:02:21 -05:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::missing_docs_in_private_items)]`
|
2020-01-08 18:04:53 -06:00
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/missing_doc_impl.rs:14:5
|
2020-01-08 18:04:53 -06:00
|
|
|
|
|
|
|
|
LL | a: isize,
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/missing_doc_impl.rs:15:5
|
2020-01-08 18:04:53 -06:00
|
|
|
|
|
|
|
|
LL | b: isize,
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: missing documentation for a struct field
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/missing_doc_impl.rs:20:5
|
2020-01-08 18:04:53 -06:00
|
|
|
|
|
|
|
|
LL | b: isize,
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
2020-12-20 10:19:49 -06:00
|
|
|
error: missing documentation for an associated function
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/missing_doc_impl.rs:67:5
|
2020-01-08 18:04:53 -06:00
|
|
|
|
|
2021-07-19 04:52:05 -05:00
|
|
|
LL | / pub fn new() -> Self {
|
|
|
|
LL | | Foo { a: 0, b: 0 }
|
|
|
|
LL | | }
|
|
|
|
| |_____^
|
2020-01-08 18:04:53 -06:00
|
|
|
|
2020-12-20 10:19:49 -06:00
|
|
|
error: missing documentation for an associated function
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/missing_doc_impl.rs:70:5
|
2020-01-08 18:04:53 -06:00
|
|
|
|
|
|
|
|
LL | fn bar() {}
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
2020-12-20 10:19:49 -06:00
|
|
|
error: missing documentation for an associated function
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/missing_doc_impl.rs:78:5
|
2020-01-08 18:04:53 -06:00
|
|
|
|
|
2021-06-03 01:41:37 -05:00
|
|
|
LL | / fn foo2() -> u32 {
|
|
|
|
LL | | 1
|
|
|
|
LL | | }
|
|
|
|
| |_____^
|
2020-01-08 18:04:53 -06:00
|
|
|
|
2023-03-10 03:53:50 -06:00
|
|
|
error: aborting due to 7 previous errors
|
2020-01-08 18:04:53 -06:00
|
|
|
|