Add ne matcher #2695
GitHub Actions / clippy
succeeded
Dec 11, 2025 in 0s
clippy
2 warnings
Details
Results
| Message level | Amount |
|---|---|
| Internal compiler error | 0 |
| Error | 0 |
| Warning | 2 |
| Note | 0 |
| Help | 0 |
Versions
- rustc 1.91.1 (ed61e7d7e 2025-11-07)
- cargo 1.91.1 (ea2d97820 2025-10-10)
- clippy 0.1.91 (ed61e7d7e2 2025-11-07)
Annotations
Check warning on line 314 in googletest/src/matcher_support/summarize_diff.rs
github-actions / clippy
this `impl` can be derived
warning: this `impl` can be derived
--> googletest/src/matcher_support/summarize_diff.rs:310:1
|
310 | / impl Default for Buffer<'_> {
311 | | fn default() -> Self {
312 | | Self::Empty
313 | | }
314 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#derivable_impls
= note: `#[warn(clippy::derivable_impls)]` on by default
help: replace the manual implementation with a derive attribute and mark the default variant
|
249 + #[derive(Default)]
250 ~ enum Buffer<'a> {
251 ~ #[default]
252 ~ Empty,
|
Check warning on line 314 in googletest/src/matcher_support/summarize_diff.rs
github-actions / clippy
this `impl` can be derived
warning: this `impl` can be derived
--> googletest/src/matcher_support/summarize_diff.rs:310:1
|
310 | / impl Default for Buffer<'_> {
311 | | fn default() -> Self {
312 | | Self::Empty
313 | | }
314 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#derivable_impls
= note: `#[warn(clippy::derivable_impls)]` on by default
help: replace the manual implementation with a derive attribute and mark the default variant
|
249 + #[derive(Default)]
250 ~ enum Buffer<'a> {
251 ~ #[default]
252 ~ Empty,
|
Loading