tentative changes to #93 #184
Annotations
4 errors and 8 warnings
thumbv7m-none-eabi
Process completed with exit code 101.
|
aarch64-unknown-none
The job was canceled because "thumbv7m-none-eabi" failed.
|
aarch64-unknown-none
The operation was canceled.
|
[clippy] src/diagnostic.rs#L180:
src/diagnostic.rs#L180
error: the following explicit lifetimes could be elided: 's
--> src/diagnostic.rs:180:10
|
180 | 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
|
180 - impl<'s, T: 'static + ToOwned + ?Sized> IntoOwned for Cow<'s, T> {
180 + impl<T: 'static + ToOwned + ?Sized> IntoOwned for Cow<'_, T> {
|
|
[clippy] src/diagnostic.rs#L189:
src/diagnostic.rs#L189
warning: missing documentation for a trait
--> src/diagnostic.rs:189:1
|
189 | pub trait Diagnose<'s, T> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
[clippy] src/diagnostic.rs#L190:
src/diagnostic.rs#L190
warning: missing documentation for an associated type
--> src/diagnostic.rs:190:5
|
190 | type Error: Diagnostic<'s>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
[clippy] src/diagnostic.rs#L193:
src/diagnostic.rs#L193
warning: missing documentation for a method
--> src/diagnostic.rs:193:5
|
193 | / fn diagnose(
194 | | self,
195 | | subject: impl Into<<Self::Error as Diagnostic<'s>>::Subject>,
196 | | ) -> Result<T, Report<Self::Error, <Self::Error as Diagnostic<'s>>::Subject>>;
| |__________________________________________________________________________________^
|
[clippy] src/diagnostic.rs#L199:
src/diagnostic.rs#L199
warning: missing documentation for a method
--> src/diagnostic.rs:199:5
|
199 | / fn diagnose_with<F, S>(
200 | | self,
201 | | f: F,
202 | | ) -> Result<T, Report<Self::Error, <Self::Error as Diagnostic<'s>>::Subject>>
203 | | where
204 | | F: FnOnce() -> S,
205 | | S: Into<<Self::Error as Diagnostic<'s>>::Subject>;
| |__________________________________________________________^
|
[clippy] src/diagnostic.rs#L189:
src/diagnostic.rs#L189
warning: missing documentation for a trait
--> src/diagnostic.rs:189:1
|
189 | pub trait Diagnose<'s, T> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
[clippy] src/diagnostic.rs#L190:
src/diagnostic.rs#L190
warning: missing documentation for an associated type
--> src/diagnostic.rs:190:5
|
190 | type Error: Diagnostic<'s>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
[clippy] src/diagnostic.rs#L193:
src/diagnostic.rs#L193
warning: missing documentation for a method
--> src/diagnostic.rs:193:5
|
193 | / fn diagnose(
194 | | self,
195 | | subject: impl Into<<Self::Error as Diagnostic<'s>>::Subject>,
196 | | ) -> Result<T, Report<Self::Error, <Self::Error as Diagnostic<'s>>::Subject>>;
| |__________________________________________________________________________________^
|
[clippy] src/diagnostic.rs#L199:
src/diagnostic.rs#L199
warning: missing documentation for a method
--> src/diagnostic.rs:199:5
|
199 | / fn diagnose_with<F, S>(
200 | | self,
201 | | f: F,
202 | | ) -> Result<T, Report<Self::Error, <Self::Error as Diagnostic<'s>>::Subject>>
203 | | where
204 | | F: FnOnce() -> S,
205 | | S: Into<<Self::Error as Diagnostic<'s>>::Subject>;
| |__________________________________________________________^
|