tentative changes to #93 #184
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (4)
src/diagnostic.rs|184 col 1| warning: missing documentation for a trait
--> src/diagnostic.rs:184:1
|
184 | pub trait Diagnose<'s, T> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
src/diagnostic.rs|185 col 5| warning: missing documentation for an associated type
--> src/diagnostic.rs:185:5
|
185 | type Error: Diagnostic<'s>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/diagnostic.rs|188 col 5| warning: missing documentation for a method
--> src/diagnostic.rs:188:5
|
188 | / fn diagnose(
189 | | self,
190 | | subject: impl Into<<Self::Error as Diagnostic<'s>>::Subject>,
191 | | ) -> Result<T, Report<Self::Error, <Self::Error as Diagnostic<'s>>::Subject>>;
| |________________________^
src/diagnostic.rs|194 col 5| warning: missing documentation for a method
--> src/diagnostic.rs:194:5
|
194 | / fn diagnose_with<F, S>(
195 | | self,
196 | | f: F,
197 | | ) -> Result<T, Report<Self::Error, <Self::Error as Diagnostic<'s>>::Subject>>
198 | | where
199 | | F: FnOnce() -> S,
200 | | S: Into<<Self::Error as Diagnostic<'s>>::Subject>;
| |^
Filtered Findings (0)
Annotations
Check warning on line 184 in src/diagnostic.rs
github-actions / clippy
[clippy] src/diagnostic.rs#L184
warning: missing documentation for a trait
--> src/diagnostic.rs:184:1
|
184 | pub trait Diagnose<'s, T> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
Raw output
src/diagnostic.rs:184:1:w:warning: missing documentation for a trait
--> src/diagnostic.rs:184:1
|
184 | pub trait Diagnose<'s, T> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
__END__
Check warning on line 185 in src/diagnostic.rs
github-actions / clippy
[clippy] src/diagnostic.rs#L185
warning: missing documentation for an associated type
--> src/diagnostic.rs:185:5
|
185 | type Error: Diagnostic<'s>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
Raw output
src/diagnostic.rs:185:5:w:warning: missing documentation for an associated type
--> src/diagnostic.rs:185:5
|
185 | type Error: Diagnostic<'s>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
__END__
Check warning on line 188 in src/diagnostic.rs
github-actions / clippy
[clippy] src/diagnostic.rs#L188
warning: missing documentation for a method
--> src/diagnostic.rs:188:5
|
188 | / fn diagnose(
189 | | self,
190 | | subject: impl Into<<Self::Error as Diagnostic<'s>>::Subject>,
191 | | ) -> Result<T, Report<Self::Error, <Self::Error as Diagnostic<'s>>::Subject>>;
| |__________________________________________________________________________________^
Raw output
src/diagnostic.rs:188:5:w:warning: missing documentation for a method
--> src/diagnostic.rs:188:5
|
188 | / fn diagnose(
189 | | self,
190 | | subject: impl Into<<Self::Error as Diagnostic<'s>>::Subject>,
191 | | ) -> Result<T, Report<Self::Error, <Self::Error as Diagnostic<'s>>::Subject>>;
| |__________________________________________________________________________________^
__END__
Check warning on line 194 in src/diagnostic.rs
github-actions / clippy
[clippy] src/diagnostic.rs#L194
warning: missing documentation for a method
--> src/diagnostic.rs:194:5
|
194 | / fn diagnose_with<F, S>(
195 | | self,
196 | | f: F,
197 | | ) -> Result<T, Report<Self::Error, <Self::Error as Diagnostic<'s>>::Subject>>
198 | | where
199 | | F: FnOnce() -> S,
200 | | S: Into<<Self::Error as Diagnostic<'s>>::Subject>;
| |__________________________________________________________^
Raw output
src/diagnostic.rs:194:5:w:warning: missing documentation for a method
--> src/diagnostic.rs:194:5
|
194 | / fn diagnose_with<F, S>(
195 | | self,
196 | | f: F,
197 | | ) -> Result<T, Report<Self::Error, <Self::Error as Diagnostic<'s>>::Subject>>
198 | | where
199 | | F: FnOnce() -> S,
200 | | S: Into<<Self::Error as Diagnostic<'s>>::Subject>;
| |__________________________________________________________^
__END__