LL | | }
| |_^
-error: missing documentation for a trait method
+error: missing documentation for an associated function
--> $DIR/missing-doc-impl.rs:39:5
|
LL | fn foo(&self);
| ^^^^^^^^^^^^^^
-error: missing documentation for a trait method
+error: missing documentation for an associated function
--> $DIR/missing-doc-impl.rs:40:5
|
LL | fn foo_with_impl(&self) {}
LL | type AssociatedTypeDef = Self;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-error: missing documentation for a method
+error: missing documentation for an associated function
--> $DIR/missing-doc-impl.rs:62:5
|
-LL | pub fn foo() {}
- | ^^^^^^^^^^^^^^^
+LL | / pub fn new() -> Self {
+LL | | Foo { a: 0, b: 0 }
+LL | | }
+ | |_____^
-error: missing documentation for a method
- --> $DIR/missing-doc-impl.rs:63:5
+error: missing documentation for an associated function
+ --> $DIR/missing-doc-impl.rs:65:5
|
LL | fn bar() {}
| ^^^^^^^^^^^
-error: missing documentation for a method
- --> $DIR/missing-doc-impl.rs:67:5
+error: missing documentation for an associated function
+ --> $DIR/missing-doc-impl.rs:69:5
|
LL | pub fn foo() {}
| ^^^^^^^^^^^^^^^
-error: missing documentation for a method
- --> $DIR/missing-doc-impl.rs:70:5
+error: missing documentation for an associated function
+ --> $DIR/missing-doc-impl.rs:73:5
|
-LL | fn foo2() {}
- | ^^^^^^^^^^^^
+LL | / fn foo2() -> u32 {
+LL | | 1
+LL | | }
+ | |_____^
error: aborting due to 15 previous errors