Skip to content

refactor a bit

refactor a bit #185

Triggered via pull request November 28, 2024 05:59
Status Failure
Total duration 38s
Artifacts

check.yml

on: pull_request
stable / fmt
6s
stable / fmt
semver
19s
semver
nightly / doc
21s
nightly / doc
ubuntu / stable / features
17s
ubuntu / stable / features
toml / fmt
4s
toml / fmt
Matrix: clippy
Matrix: msrv
Fit to window
Zoom out
Zoom in

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>; | |______________________________________________________^