Rust CI #55
clippy
5 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 5 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.83.0 (90b35a623 2024-11-26)
- cargo 1.83.0 (5ffbef321 2024-10-29)
- clippy 0.1.83 (90b35a6 2024-11-26)
Annotations
Check failure on line 42 in minidump-common/src/traits.rs
github-actions / clippy
the following explicit lifetimes could be elided: 'a
error: the following explicit lifetimes could be elided: 'a
--> minidump-common/src/traits.rs:42:6
|
42 | impl<'a> Module for (&'a str, DebugId) {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
42 - impl<'a> Module for (&'a str, DebugId) {
42 + impl Module for (&str, DebugId) {
|
Check failure on line 2058 in minidump-common/src/format.rs
github-actions / clippy
the following explicit lifetimes could be elided: 'a
error: the following explicit lifetimes could be elided: 'a
--> minidump-common/src/format.rs:2058:6
|
2058 | impl<'a> scroll::ctx::TryFromCtx<'a, Endian> for MINIDUMP_UTF8_STRING {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
2058 - impl<'a> scroll::ctx::TryFromCtx<'a, Endian> for MINIDUMP_UTF8_STRING {
2058 + impl scroll::ctx::TryFromCtx<'_, Endian> for MINIDUMP_UTF8_STRING {
|
Check failure on line 1745 in minidump-common/src/format.rs
github-actions / clippy
the following explicit lifetimes could be elided: 'a
error: the following explicit lifetimes could be elided: 'a
--> minidump-common/src/format.rs:1745:6
|
1745 | impl<'a> Iterator for XstateFeatureIter<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
1745 - impl<'a> Iterator for XstateFeatureIter<'a> {
1745 + impl Iterator for XstateFeatureIter<'_> {
|
Check failure on line 509 in minidump-common/src/format.rs
github-actions / clippy
the following explicit lifetimes could be elided: 'a
error: the following explicit lifetimes could be elided: 'a
--> minidump-common/src/format.rs:509:6
|
509 | impl<'a> scroll::ctx::TryFromCtx<'a, Endian> for CV_INFO_PDB70 {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
509 - impl<'a> scroll::ctx::TryFromCtx<'a, Endian> for CV_INFO_PDB70 {
509 + impl scroll::ctx::TryFromCtx<'_, Endian> for CV_INFO_PDB70 {
|
Check failure on line 473 in minidump-common/src/format.rs
github-actions / clippy
the following explicit lifetimes could be elided: 'a
error: the following explicit lifetimes could be elided: 'a
--> minidump-common/src/format.rs:473:6
|
473 | impl<'a> scroll::ctx::TryFromCtx<'a, Endian> for CV_INFO_PDB20 {
| ^^ ^^
|
= 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
|
473 - impl<'a> scroll::ctx::TryFromCtx<'a, Endian> for CV_INFO_PDB20 {
473 + impl scroll::ctx::TryFromCtx<'_, Endian> for CV_INFO_PDB20 {
|