tentative changes to #93 #184
check.yml
on: pull_request
stable / fmt
6s
semver
22s
nightly / doc
19s
ubuntu / stable / features
12s
toml / fmt
7s
Matrix: clippy
Matrix: msrv
Annotations
4 errors and 10 warnings
ubuntu / stable / features
Process completed with exit code 1.
|
[clippy] src/diagnostic.rs#L175:
src/diagnostic.rs#L175
error: the following explicit lifetimes could be elided: 's
--> src/diagnostic.rs:175:10
|
175 | impl<'s, T: 'static + ToOwned + ?Sized> IntoOwned for Cow<'s, T> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
note: the lint level is defined here
--> src/lib.rs:38:9
|
38 | #![deny(clippy::all, clippy::pedantic)]
| ^^^^^^^^^^^
= note: `#[deny(clippy::needless_lifetimes)]` implied by `#[deny(clippy::all)]`
help: elide the lifetimes
|
175 - impl<'s, T: 'static + ToOwned + ?Sized> IntoOwned for Cow<'s, T> {
175 + impl<T: 'static + ToOwned + ?Sized> IntoOwned for Cow<'_, T> {
|
|
ubuntu / 1.79
Process completed with exit code 101.
|
semver
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
|
[clippy] src/diagnostic.rs#L184:
src/diagnostic.rs#L184
warning: missing documentation for a trait
--> src/diagnostic.rs:184:1
|
184 | pub trait Diagnose<'s, T> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
[clippy] src/diagnostic.rs#L185:
src/diagnostic.rs#L185
warning: missing documentation for an associated type
--> src/diagnostic.rs:185:5
|
185 | type Error: Diagnostic<'s>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
[clippy] src/diagnostic.rs#L188:
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>>;
| |__________________________________________________________________________________^
|
[clippy] src/diagnostic.rs#L194:
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>;
| |__________________________________________________________^
|
beta / clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: giraffate/clippy-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
[clippy] src/diagnostic.rs#L184:
src/diagnostic.rs#L184
warning: missing documentation for a trait
--> src/diagnostic.rs:184:1
|
184 | pub trait Diagnose<'s, T> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
[clippy] src/diagnostic.rs#L185:
src/diagnostic.rs#L185
warning: missing documentation for an associated type
--> src/diagnostic.rs:185:5
|
185 | type Error: Diagnostic<'s>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
[clippy] src/diagnostic.rs#L188:
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>>;
| |__________________________________________________________________________________^
|
[clippy] src/diagnostic.rs#L194:
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>;
| |__________________________________________________________^
|
stable / clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: giraffate/clippy-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|