Support %-encoded characters in DID URL #4648
Annotations
5 errors and 2 warnings
elided lifetime has a name:
identity_document/src/document/core_document.rs#L693
error: elided lifetime has a name
--> identity_document/src/document/core_document.rs:693:15
|
689 | pub fn resolve_method<'query, 'me, Q>(
| --- lifetime `'me` declared here
...
693 | ) -> Option<&VerificationMethod>
| ^ this elided lifetime gets resolved as `'me`
|
= note: `-D elided-named-lifetimes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(elided_named_lifetimes)]`
|
elided lifetime has a name:
identity_document/src/document/core_document.rs#L776
error: elided lifetime has a name
--> identity_document/src/document/core_document.rs:776:81
|
776 | pub fn resolve_service<'query, 'me, Q>(&'me self, service_query: Q) -> Option<&Service>
| --- lifetime `'me` declared here ^ this elided lifetime gets resolved as `'me`
|
the following explicit lifetimes could be elided: 'query:
identity_document/src/utils/did_url_query.rs#L16
error: the following explicit lifetimes could be elided: 'query
--> identity_document/src/utils/did_url_query.rs:16:6
|
16 | impl<'query> DIDUrlQuery<'query> {
| ^^^^^^ ^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `-D clippy::needless-lifetimes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_lifetimes)]`
help: elide the lifetimes
|
16 - impl<'query> DIDUrlQuery<'query> {
16 + impl DIDUrlQuery<'_> {
|
|
the following explicit lifetimes could be elided: 'query:
identity_document/src/utils/did_url_query.rs#L84
error: the following explicit lifetimes could be elided: 'query
--> identity_document/src/utils/did_url_query.rs:84:6
|
84 | impl<'query> From<DIDUrl> for DIDUrlQuery<'query> {
| ^^^^^^ ^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
84 - impl<'query> From<DIDUrl> for DIDUrlQuery<'query> {
84 + impl From<DIDUrl> for DIDUrlQuery<'_> {
|
|
clippy
Clippy had exited with the 101 exit code
|
clippy
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|