Skip to content

enable ci

enable ci #1

Triggered via push January 20, 2025 04:11
Status Success
Total duration 1m 26s
Artifacts

ci.yml

on: push
doc / nightly
30s
doc / nightly
Matrix: clippy
Matrix: integration-test-latest-deps
Matrix: integration-test
Matrix: lint / ubuntu
Matrix: test-latest-deps
Matrix: test-no-default-features
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

54 warnings
lint / ubuntu (nightly)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
the following explicit lifetimes could be elided: 'a: googletest/src/matchers/unordered_elements_are_matcher.rs#L347
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/matchers/unordered_elements_are_matcher.rs:347:10 | 347 | impl<'a, T: Debug + Copy, ContainerT: Debug + Copy, const N: usize> Matcher<ContainerT> | ^^ 348 | for UnorderedElementsAreMatcher<'a, T, N> | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 347 ~ impl<T: Debug + Copy, ContainerT: Debug + Copy, const N: usize> Matcher<ContainerT> 348 ~ for UnorderedElementsAreMatcher<'_, T, N> |
the following explicit lifetimes could be elided: 'a: googletest/src/matchers/is_matcher.rs#L38
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/matchers/is_matcher.rs:38:6 | 38 | impl<'a, ActualT: Debug + Copy, InnerMatcherT: Matcher<ActualT>> Matcher<ActualT> | ^^ 39 | for IsMatcher<'a, InnerMatcherT> | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 38 ~ impl<ActualT: Debug + Copy, InnerMatcherT: Matcher<ActualT>> Matcher<ActualT> 39 ~ for IsMatcher<'_, InnerMatcherT> |
the following explicit lifetimes could be elided: 'a: googletest/src/matchers/elements_are_matcher.rs#L128
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/matchers/elements_are_matcher.rs:128:10 | 128 | impl<'a, T: Debug + Copy, ContainerT: Debug + Copy> Matcher<ContainerT> for ElementsAre<'a, T> | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 128 - impl<'a, T: Debug + Copy, ContainerT: Debug + Copy> Matcher<ContainerT> for ElementsAre<'a, T> 128 + impl<T: Debug + Copy, ContainerT: Debug + Copy> Matcher<ContainerT> for ElementsAre<'_, T> |
the following explicit lifetimes could be elided: 'a: googletest/src/matcher_support/summarize_diff.rs#L310
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/matcher_support/summarize_diff.rs:310:6 | 310 | impl<'a> Default for Buffer<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 310 - impl<'a> Default for Buffer<'a> { 310 + impl Default for Buffer<'_> { |
the following explicit lifetimes could be elided: 'a: googletest/src/matcher_support/summarize_diff.rs#L237
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/matcher_support/summarize_diff.rs:237:6 | 237 | impl<'a> Display for BufferedSummary<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 237 - impl<'a> Display for BufferedSummary<'a> { 237 + impl Display for BufferedSummary<'_> { |
the following explicit lifetimes could be elided: 'a: googletest/src/matcher_support/auto_eq.rs#L53
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/matcher_support/auto_eq.rs:53:10 | 53 | impl<'a, T: MatcherBase> Wrapper<&'a T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 53 - impl<'a, T: MatcherBase> Wrapper<&'a T> { 53 + impl<T: MatcherBase> Wrapper<&T> { |
empty line after doc comment: googletest/src/matcher.rs#L34
warning: empty line after doc comment --> googletest/src/matcher.rs:34:1 | 34 | / /// see [Rust by Example](https://doc.rust-lang.org/rust-by-example/primitives/tuples.html#tuples). 35 | | | |_^ ... 39 | pub trait Matcher<ActualT: Debug + Copy>: MatcherBase { | ----------------------------------------------------- the comment documents this trait | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default = help: if the empty line is unintentional remove it help: if the doc comment should not document `Matcher` comment it out | 24 ~ // /// An interface for checking an arbitrary condition on a datum. 25 ~ // /// 26 ~ // /// This trait is automatically implemented for a reference of any type 27 ~ // /// implementing `Matcher`. This simplifies reusing a matcher in different 28 ~ // /// assertions. 29 ~ // /// 30 ~ // /// It is also implemented for tuple of `Matcher`. If `MatcherT: Matcher<T>` and 31 ~ // /// `MatcherU: Matcher<U>`, then `(MatcherT, MatcherU): Matcher<(T, U)>`, and so 32 ~ // /// on, up to 12 elements. Tuples longer than that do not automatically inherit 33 ~ // /// the `Debug` trait from their members, so are generally not well-supported; 34 ~ // /// see [Rust by Example](https://doc.rust-lang.org/rust-by-example/primitives/tuples.html#tuples). |
the following explicit lifetimes could be elided: 'a: googletest/src/fmt.rs#L48
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/fmt.rs:48:10 | 48 | impl<'a, T: ?Sized> FormatNonDebugFallback for FormatWrapper<'a, T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 48 - impl<'a, T: ?Sized> FormatNonDebugFallback for FormatWrapper<'a, T> { 48 + impl<T: ?Sized> FormatNonDebugFallback for FormatWrapper<'_, T> { |
the following explicit lifetimes could be elided: 'a: googletest/src/fmt.rs#L31
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/fmt.rs:31:10 | 31 | impl<'a, T: Debug + ?Sized> FormatWrapper<'a, T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 31 - impl<'a, T: Debug + ?Sized> FormatWrapper<'a, T> { 31 + impl<T: Debug + ?Sized> FormatWrapper<'_, T> { |
the following explicit lifetimes could be elided: 'a: googletest/src/matchers/unordered_elements_are_matcher.rs#L347
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/matchers/unordered_elements_are_matcher.rs:347:10 | 347 | impl<'a, T: Debug + Copy, ContainerT: Debug + Copy, const N: usize> Matcher<ContainerT> | ^^ 348 | for UnorderedElementsAreMatcher<'a, T, N> | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 347 ~ impl<T: Debug + Copy, ContainerT: Debug + Copy, const N: usize> Matcher<ContainerT> 348 ~ for UnorderedElementsAreMatcher<'_, T, N> |
the following explicit lifetimes could be elided: 'a: googletest/src/matchers/is_matcher.rs#L38
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/matchers/is_matcher.rs:38:6 | 38 | impl<'a, ActualT: Debug + Copy, InnerMatcherT: Matcher<ActualT>> Matcher<ActualT> | ^^ 39 | for IsMatcher<'a, InnerMatcherT> | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 38 ~ impl<ActualT: Debug + Copy, InnerMatcherT: Matcher<ActualT>> Matcher<ActualT> 39 ~ for IsMatcher<'_, InnerMatcherT> |
the following explicit lifetimes could be elided: 'a: googletest/src/matchers/elements_are_matcher.rs#L128
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/matchers/elements_are_matcher.rs:128:10 | 128 | impl<'a, T: Debug + Copy, ContainerT: Debug + Copy> Matcher<ContainerT> for ElementsAre<'a, T> | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 128 - impl<'a, T: Debug + Copy, ContainerT: Debug + Copy> Matcher<ContainerT> for ElementsAre<'a, T> 128 + impl<T: Debug + Copy, ContainerT: Debug + Copy> Matcher<ContainerT> for ElementsAre<'_, T> |
the following explicit lifetimes could be elided: 'a: googletest/src/matcher_support/summarize_diff.rs#L310
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/matcher_support/summarize_diff.rs:310:6 | 310 | impl<'a> Default for Buffer<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 310 - impl<'a> Default for Buffer<'a> { 310 + impl Default for Buffer<'_> { |
the following explicit lifetimes could be elided: 'a: googletest/src/matcher_support/summarize_diff.rs#L237
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/matcher_support/summarize_diff.rs:237:6 | 237 | impl<'a> Display for BufferedSummary<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 237 - impl<'a> Display for BufferedSummary<'a> { 237 + impl Display for BufferedSummary<'_> { |
the following explicit lifetimes could be elided: 'a: googletest/src/matcher_support/auto_eq.rs#L53
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/matcher_support/auto_eq.rs:53:10 | 53 | impl<'a, T: MatcherBase> Wrapper<&'a T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 53 - impl<'a, T: MatcherBase> Wrapper<&'a T> { 53 + impl<T: MatcherBase> Wrapper<&T> { |
empty line after doc comment: googletest/src/matcher.rs#L34
warning: empty line after doc comment --> googletest/src/matcher.rs:34:1 | 34 | / /// see [Rust by Example](https://doc.rust-lang.org/rust-by-example/primitives/tuples.html#tuples). 35 | | | |_^ ... 39 | pub trait Matcher<ActualT: Debug + Copy>: MatcherBase { | ----------------------------------------------------- the comment documents this trait | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default = help: if the empty line is unintentional remove it help: if the doc comment should not document `Matcher` comment it out | 24 ~ // /// An interface for checking an arbitrary condition on a datum. 25 ~ // /// 26 ~ // /// This trait is automatically implemented for a reference of any type 27 ~ // /// implementing `Matcher`. This simplifies reusing a matcher in different 28 ~ // /// assertions. 29 ~ // /// 30 ~ // /// It is also implemented for tuple of `Matcher`. If `MatcherT: Matcher<T>` and 31 ~ // /// `MatcherU: Matcher<U>`, then `(MatcherT, MatcherU): Matcher<(T, U)>`, and so 32 ~ // /// on, up to 12 elements. Tuples longer than that do not automatically inherit 33 ~ // /// the `Debug` trait from their members, so are generally not well-supported; 34 ~ // /// see [Rust by Example](https://doc.rust-lang.org/rust-by-example/primitives/tuples.html#tuples). |
the following explicit lifetimes could be elided: 'a: googletest/src/fmt.rs#L48
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/fmt.rs:48:10 | 48 | impl<'a, T: ?Sized> FormatNonDebugFallback for FormatWrapper<'a, T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 48 - impl<'a, T: ?Sized> FormatNonDebugFallback for FormatWrapper<'a, T> { 48 + impl<T: ?Sized> FormatNonDebugFallback for FormatWrapper<'_, T> { |
the following explicit lifetimes could be elided: 'a: googletest/src/fmt.rs#L31
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/fmt.rs:31:10 | 31 | impl<'a, T: Debug + ?Sized> FormatWrapper<'a, T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 31 - impl<'a, T: Debug + ?Sized> FormatWrapper<'a, T> { 31 + impl<T: Debug + ?Sized> FormatWrapper<'_, T> { |
the following explicit lifetimes could be elided: 'a: googletest/src/matchers/unordered_elements_are_matcher.rs#L347
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/matchers/unordered_elements_are_matcher.rs:347:10 | 347 | impl<'a, T: Debug + Copy, ContainerT: Debug + Copy, const N: usize> Matcher<ContainerT> | ^^ 348 | for UnorderedElementsAreMatcher<'a, T, N> | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 347 ~ impl<T: Debug + Copy, ContainerT: Debug + Copy, const N: usize> Matcher<ContainerT> 348 ~ for UnorderedElementsAreMatcher<'_, T, N> |
the following explicit lifetimes could be elided: 'a: googletest/src/matchers/is_matcher.rs#L38
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/matchers/is_matcher.rs:38:6 | 38 | impl<'a, ActualT: Debug + Copy, InnerMatcherT: Matcher<ActualT>> Matcher<ActualT> | ^^ 39 | for IsMatcher<'a, InnerMatcherT> | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 38 ~ impl<ActualT: Debug + Copy, InnerMatcherT: Matcher<ActualT>> Matcher<ActualT> 39 ~ for IsMatcher<'_, InnerMatcherT> |
the following explicit lifetimes could be elided: 'a: googletest/src/matchers/elements_are_matcher.rs#L128
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/matchers/elements_are_matcher.rs:128:10 | 128 | impl<'a, T: Debug + Copy, ContainerT: Debug + Copy> Matcher<ContainerT> for ElementsAre<'a, T> | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 128 - impl<'a, T: Debug + Copy, ContainerT: Debug + Copy> Matcher<ContainerT> for ElementsAre<'a, T> 128 + impl<T: Debug + Copy, ContainerT: Debug + Copy> Matcher<ContainerT> for ElementsAre<'_, T> |
the following explicit lifetimes could be elided: 'a: googletest/src/matcher_support/summarize_diff.rs#L310
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/matcher_support/summarize_diff.rs:310:6 | 310 | impl<'a> Default for Buffer<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 310 - impl<'a> Default for Buffer<'a> { 310 + impl Default for Buffer<'_> { |
the following explicit lifetimes could be elided: 'a: googletest/src/matcher_support/summarize_diff.rs#L237
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/matcher_support/summarize_diff.rs:237:6 | 237 | impl<'a> Display for BufferedSummary<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 237 - impl<'a> Display for BufferedSummary<'a> { 237 + impl Display for BufferedSummary<'_> { |
empty line after doc comment: googletest/src/matcher.rs#L34
warning: empty line after doc comment --> googletest/src/matcher.rs:34:1 | 34 | / /// see [Rust by Example](https://doc.rust-lang.org/rust-by-example/primitives/tuples.html#tuples). 35 | | | |_^ ... 39 | pub trait Matcher<ActualT: Debug + Copy>: MatcherBase { | ----------------------------------------------------- the comment documents this trait | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default = help: if the empty line is unintentional remove it help: if the doc comment should not document `Matcher` comment it out | 24 ~ // /// An interface for checking an arbitrary condition on a datum. 25 ~ // /// 26 ~ // /// This trait is automatically implemented for a reference of any type 27 ~ // /// implementing `Matcher`. This simplifies reusing a matcher in different 28 ~ // /// assertions. 29 ~ // /// 30 ~ // /// It is also implemented for tuple of `Matcher`. If `MatcherT: Matcher<T>` and 31 ~ // /// `MatcherU: Matcher<U>`, then `(MatcherT, MatcherU): Matcher<(T, U)>`, and so 32 ~ // /// on, up to 12 elements. Tuples longer than that do not automatically inherit 33 ~ // /// the `Debug` trait from their members, so are generally not well-supported; 34 ~ // /// see [Rust by Example](https://doc.rust-lang.org/rust-by-example/primitives/tuples.html#tuples). |
the following explicit lifetimes could be elided: 'a: googletest/src/fmt.rs#L48
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/fmt.rs:48:10 | 48 | impl<'a, T: ?Sized> FormatNonDebugFallback for FormatWrapper<'a, T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 48 - impl<'a, T: ?Sized> FormatNonDebugFallback for FormatWrapper<'a, T> { 48 + impl<T: ?Sized> FormatNonDebugFallback for FormatWrapper<'_, T> { |
the following explicit lifetimes could be elided: 'a: googletest/src/fmt.rs#L31
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/fmt.rs:31:10 | 31 | impl<'a, T: Debug + ?Sized> FormatWrapper<'a, T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 31 - impl<'a, T: Debug + ?Sized> FormatWrapper<'a, T> { 31 + impl<T: Debug + ?Sized> FormatWrapper<'_, T> { |
the following explicit lifetimes could be elided: 'a: googletest/src/matchers/unordered_elements_are_matcher.rs#L347
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/matchers/unordered_elements_are_matcher.rs:347:10 | 347 | impl<'a, T: Debug + Copy, ContainerT: Debug + Copy, const N: usize> Matcher<ContainerT> | ^^ 348 | for UnorderedElementsAreMatcher<'a, T, N> | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 347 ~ impl<T: Debug + Copy, ContainerT: Debug + Copy, const N: usize> Matcher<ContainerT> 348 ~ for UnorderedElementsAreMatcher<'_, T, N> |
the following explicit lifetimes could be elided: 'a: googletest/src/matchers/is_matcher.rs#L38
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/matchers/is_matcher.rs:38:6 | 38 | impl<'a, ActualT: Debug + Copy, InnerMatcherT: Matcher<ActualT>> Matcher<ActualT> | ^^ 39 | for IsMatcher<'a, InnerMatcherT> | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 38 ~ impl<ActualT: Debug + Copy, InnerMatcherT: Matcher<ActualT>> Matcher<ActualT> 39 ~ for IsMatcher<'_, InnerMatcherT> |
the following explicit lifetimes could be elided: 'a: googletest/src/matchers/elements_are_matcher.rs#L128
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/matchers/elements_are_matcher.rs:128:10 | 128 | impl<'a, T: Debug + Copy, ContainerT: Debug + Copy> Matcher<ContainerT> for ElementsAre<'a, T> | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 128 - impl<'a, T: Debug + Copy, ContainerT: Debug + Copy> Matcher<ContainerT> for ElementsAre<'a, T> 128 + impl<T: Debug + Copy, ContainerT: Debug + Copy> Matcher<ContainerT> for ElementsAre<'_, T> |
the following explicit lifetimes could be elided: 'a: googletest/src/matcher_support/summarize_diff.rs#L310
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/matcher_support/summarize_diff.rs:310:6 | 310 | impl<'a> Default for Buffer<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 310 - impl<'a> Default for Buffer<'a> { 310 + impl Default for Buffer<'_> { |
the following explicit lifetimes could be elided: 'a: googletest/src/matcher_support/summarize_diff.rs#L237
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/matcher_support/summarize_diff.rs:237:6 | 237 | impl<'a> Display for BufferedSummary<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 237 - impl<'a> Display for BufferedSummary<'a> { 237 + impl Display for BufferedSummary<'_> { |
the following explicit lifetimes could be elided: 'a: googletest/src/matcher_support/auto_eq.rs#L53
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/matcher_support/auto_eq.rs:53:10 | 53 | impl<'a, T: MatcherBase> Wrapper<&'a T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 53 - impl<'a, T: MatcherBase> Wrapper<&'a T> { 53 + impl<T: MatcherBase> Wrapper<&T> { |
empty line after doc comment: googletest/src/matcher.rs#L34
warning: empty line after doc comment --> googletest/src/matcher.rs:34:1 | 34 | / /// see [Rust by Example](https://doc.rust-lang.org/rust-by-example/primitives/tuples.html#tuples). 35 | | | |_^ ... 39 | pub trait Matcher<ActualT: Debug + Copy>: MatcherBase { | ----------------------------------------------------- the comment documents this trait | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default = help: if the empty line is unintentional remove it help: if the doc comment should not document `Matcher` comment it out | 24 ~ // /// An interface for checking an arbitrary condition on a datum. 25 ~ // /// 26 ~ // /// This trait is automatically implemented for a reference of any type 27 ~ // /// implementing `Matcher`. This simplifies reusing a matcher in different 28 ~ // /// assertions. 29 ~ // /// 30 ~ // /// It is also implemented for tuple of `Matcher`. If `MatcherT: Matcher<T>` and 31 ~ // /// `MatcherU: Matcher<U>`, then `(MatcherT, MatcherU): Matcher<(T, U)>`, and so 32 ~ // /// on, up to 12 elements. Tuples longer than that do not automatically inherit 33 ~ // /// the `Debug` trait from their members, so are generally not well-supported; 34 ~ // /// see [Rust by Example](https://doc.rust-lang.org/rust-by-example/primitives/tuples.html#tuples). |
the following explicit lifetimes could be elided: 'a: googletest/src/fmt.rs#L48
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/fmt.rs:48:10 | 48 | impl<'a, T: ?Sized> FormatNonDebugFallback for FormatWrapper<'a, T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 48 - impl<'a, T: ?Sized> FormatNonDebugFallback for FormatWrapper<'a, T> { 48 + impl<T: ?Sized> FormatNonDebugFallback for FormatWrapper<'_, T> { |
the following explicit lifetimes could be elided: 'a: googletest/src/fmt.rs#L31
warning: the following explicit lifetimes could be elided: 'a --> googletest/src/fmt.rs:31:10 | 31 | impl<'a, T: Debug + ?Sized> FormatWrapper<'a, T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 31 - impl<'a, T: Debug + ?Sized> FormatWrapper<'a, T> { 31 + impl<T: Debug + ?Sized> FormatWrapper<'_, T> { |
clippy / beta
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
doc / nightly
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
clippy / stable
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
integration-test / ubuntu / nightly
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
integration-test (latest deps) / ubuntu / nightly
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test / ubuntu / nightly
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (latest deps) / ubuntu / nightly
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (no default features) / ubuntu / stable
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test / ubuntu / beta
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (no default features) / ubuntu / 1.70.0
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
integration-test (latest deps) / ubuntu / beta
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
integration-test / ubuntu / beta
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (latest deps) / ubuntu / stable
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (latest deps) / ubuntu / beta
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
integration-test / ubuntu / stable
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test / ubuntu / stable
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
integration-test (latest deps) / ubuntu / stable
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
integration-test / ubuntu / 1.70.0
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636