refactor a bit #185
check.yml
on: pull_request
stable / fmt
6s
semver
19s
nightly / doc
21s
ubuntu / stable / features
17s
toml / fmt
4s
Matrix: clippy
Matrix: msrv
Annotations
3 errors and 6 warnings
ubuntu / stable / features
Process completed with exit code 1.
|
semver
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
|
ubuntu / 1.79
Process completed with exit code 101.
|
[clippy] src/diagnostic.rs#L33:
src/diagnostic.rs#L33
warning: missing documentation for a method
--> src/diagnostic.rs:33:5
|
33 | fn related(&self) -> Option<Box<dyn Iterator<Item = Self::Related>>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
[clippy] src/diagnostic.rs#L164:
src/diagnostic.rs#L164
warning: missing documentation for an associated type
--> src/diagnostic.rs:164:5
|
164 | type Error: Diagnostic;
| ^^^^^^^^^^^^^^^^^^^^^^
|
[clippy] src/diagnostic.rs#L173:
src/diagnostic.rs#L173
warning: missing documentation for a method
--> src/diagnostic.rs:173:5
|
173 | / fn diagnose_with<F, S>(self, f: F) -> Result<T, Report<Self::Error>>
174 | | where
175 | | F: FnOnce() -> S,
176 | | S: Into<<Self::Error as Diagnostic>::Subject>;
| |______________________________________________________^
|
[clippy] src/diagnostic.rs#L33:
src/diagnostic.rs#L33
warning: missing documentation for a method
--> src/diagnostic.rs:33:5
|
33 | fn related(&self) -> Option<Box<dyn Iterator<Item = Self::Related>>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
[clippy] src/diagnostic.rs#L164:
src/diagnostic.rs#L164
warning: missing documentation for an associated type
--> src/diagnostic.rs:164:5
|
164 | type Error: Diagnostic;
| ^^^^^^^^^^^^^^^^^^^^^^
|
[clippy] src/diagnostic.rs#L173:
src/diagnostic.rs#L173
warning: missing documentation for a method
--> src/diagnostic.rs:173:5
|
173 | / fn diagnose_with<F, S>(self, f: F) -> Result<T, Report<Self::Error>>
174 | | where
175 | | F: FnOnce() -> S,
176 | | S: Into<<Self::Error as Diagnostic>::Subject>;
| |______________________________________________________^
|