Merge pull request #709 from google:dependabot/github_actions/github/… #2623
ci.yml
on: push
doc / nightly
33s
Matrix: clippy
Matrix: integration-test-latest-deps
Matrix: integration-test
Matrix: lint / ubuntu
Matrix: test-latest-deps
Matrix: test-no-default-features
Matrix: test
Annotations
2 warnings
|
this `impl` can be derived:
googletest/src/matcher_support/summarize_diff.rs#L310
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/beta/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,
|
|
|
this `impl` can be derived:
googletest/src/matcher_support/summarize_diff.rs#L310
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/beta/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,
|
|