rust/tests/ui/missing-doc-impl.stderr

108 lines
2.4 KiB
Text
Raw Normal View History

2020-01-09 01:04:53 +01:00
error: missing documentation for a struct
--> $DIR/missing-doc-impl.rs:8:1
|
LL | / struct Foo {
LL | | a: isize,
LL | | b: isize,
LL | | }
| |_^
|
= note: `-D clippy::missing-docs-in-private-items` implied by `-D warnings`
error: missing documentation for a struct field
--> $DIR/missing-doc-impl.rs:9:5
|
LL | a: isize,
| ^^^^^^^^
error: missing documentation for a struct field
--> $DIR/missing-doc-impl.rs:10:5
|
LL | b: isize,
| ^^^^^^^^
error: missing documentation for a struct
--> $DIR/missing-doc-impl.rs:13:1
|
LL | / pub struct PubFoo {
LL | | pub a: isize,
LL | | b: isize,
LL | | }
| |_^
error: missing documentation for a struct field
--> $DIR/missing-doc-impl.rs:14:5
|
LL | pub a: isize,
| ^^^^^^^^^^^^
error: missing documentation for a struct field
--> $DIR/missing-doc-impl.rs:15:5
|
LL | b: isize,
| ^^^^^^^^
error: missing documentation for a trait
--> $DIR/missing-doc-impl.rs:38:1
|
LL | / pub trait C {
LL | | fn foo(&self);
LL | | fn foo_with_impl(&self) {}
LL | | }
| |_^
error: missing documentation for an associated function
2020-01-09 01:04:53 +01:00
--> $DIR/missing-doc-impl.rs:39:5
|
LL | fn foo(&self);
| ^^^^^^^^^^^^^^
error: missing documentation for an associated function
2020-01-09 01:04:53 +01:00
--> $DIR/missing-doc-impl.rs:40:5
|
LL | fn foo_with_impl(&self) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error: missing documentation for an associated type
--> $DIR/missing-doc-impl.rs:50:5
|
LL | type AssociatedType;
| ^^^^^^^^^^^^^^^^^^^^
error: missing documentation for an associated type
--> $DIR/missing-doc-impl.rs:51:5
|
LL | type AssociatedTypeDef = Self;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: missing documentation for an associated function
2020-01-09 01:04:53 +01:00
--> $DIR/missing-doc-impl.rs:62:5
|
2021-06-25 22:34:45 +02:00
LL | / pub fn new() -> Self {
LL | | Foo { a: 0, b: 0 }
LL | | }
| |_____^
2020-01-09 01:04:53 +01:00
error: missing documentation for an associated function
2021-06-25 22:34:45 +02:00
--> $DIR/missing-doc-impl.rs:65:5
2020-01-09 01:04:53 +01:00
|
LL | fn bar() {}
| ^^^^^^^^^^^
error: missing documentation for an associated function
2021-06-25 22:34:45 +02:00
--> $DIR/missing-doc-impl.rs:69:5
2020-01-09 01:04:53 +01:00
|
LL | pub fn foo() {}
| ^^^^^^^^^^^^^^^
error: missing documentation for an associated function
2021-06-25 22:34:45 +02:00
--> $DIR/missing-doc-impl.rs:73:5
2020-01-09 01:04:53 +01:00
|
2021-05-26 23:13:57 +02:00
LL | / fn foo2() -> u32 {
LL | | 1
LL | | }
| |_____^
2020-01-09 01:04:53 +01:00
error: aborting due to 15 previous errors