feat: new c compiler: zig cc #48
clippy
7 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 7 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.84.0 (9fc6b4312 2025-01-07)
- cargo 1.84.0 (66221abde 2024-11-19)
- clippy 0.1.84 (9fc6b43126 2025-01-07)
Annotations
Check failure on line 223 in src/report.rs
github-actions / clippy
empty line after outer attribute
error: empty line after outer attribute
--> src/report.rs:222:1
|
222 | / #[allow(dead_code)]
223 | |
| |_^
224 | pub enum TestRunMode {
| -------------------- the attribute applies to this enum
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_outer_attr
= note: `-D clippy::empty-line-after-outer-attr` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::empty_line_after_outer_attr)]`
= help: if the empty line is unintentional remove it
Check failure on line 414 in src/log.rs
github-actions / clippy
the following explicit lifetimes could be elided: 'a
error: the following explicit lifetimes could be elided: 'a
--> src/log.rs:414:6
|
414 | impl<'a> tracing::field::Visit for MapVisitor<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
414 - impl<'a> tracing::field::Visit for MapVisitor<'a> {
414 + impl tracing::field::Visit for MapVisitor<'_> {
|
Check failure on line 375 in src/log.rs
github-actions / clippy
the following explicit lifetimes could be elided: 'a
error: the following explicit lifetimes could be elided: 'a
--> src/log.rs:375:6
|
375 | impl<'a> tracing::field::Visit for SpanVisitor<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
375 - impl<'a> tracing::field::Visit for SpanVisitor<'a> {
375 + impl tracing::field::Visit for SpanVisitor<'_> {
|
Check failure on line 256 in src/harness/vals.rs
github-actions / clippy
the following explicit lifetimes could be elided: 'a
error: the following explicit lifetimes could be elided: 'a
--> src/harness/vals.rs:256:6
|
256 | impl<'a> std::ops::Deref for ValueRef<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
256 - impl<'a> std::ops::Deref for ValueRef<'a> {
256 + impl std::ops::Deref for ValueRef<'_> {
|
Check failure on line 80 in src/fivemat.rs
github-actions / clippy
the following explicit lifetimes could be elided: 'a
error: the following explicit lifetimes could be elided: 'a
--> src/fivemat.rs:80:6
|
80 | impl<'a> std::fmt::Write for Fivemat<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
80 - impl<'a> std::fmt::Write for Fivemat<'a> {
80 + impl std::fmt::Write for Fivemat<'_> {
|
Check failure on line 35 in src/fivemat.rs
github-actions / clippy
the following explicit lifetimes could be elided: 'b
error: the following explicit lifetimes could be elided: 'b
--> src/fivemat.rs:35:10
|
35 | impl<'a, 'b> std::ops::DerefMut for FivematIndent<'a, 'b> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
35 - impl<'a, 'b> std::ops::DerefMut for FivematIndent<'a, 'b> {
35 + impl<'a> std::ops::DerefMut for FivematIndent<'a, '_> {
|
Check failure on line 29 in src/fivemat.rs
github-actions / clippy
the following explicit lifetimes could be elided: 'b
error: the following explicit lifetimes could be elided: 'b
--> src/fivemat.rs:29:10
|
29 | impl<'a, 'b> std::ops::Deref for FivematIndent<'a, 'b> {
| ^^ ^^
|
= 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
|
29 - impl<'a, 'b> std::ops::Deref for FivematIndent<'a, 'b> {
29 + impl<'a> std::ops::Deref for FivematIndent<'a, '_> {
|