From 6f797e9989dbc749ad2eabc433031bfcc0b89b5a Mon Sep 17 00:00:00 2001 From: Richard Schneeman Date: Sat, 1 Nov 2025 15:14:16 -0500 Subject: [PATCH 1/2] Configure Dependabot for Rust and GitHub Actions Added configuration for Rust and GitHub Actions updates with monthly schedule. Signed-off-by: Richard Schneeman --- .github/dependabot.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..4ac5399 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,25 @@ +version: 2 +updates: + - package-ecosystem: "cargo" + directory: "/" + schedule: + interval: "monthly" + labels: + - "dependencies" + - "skip changelog" + groups: + rust-dependencies: + update-types: + - "minor" + - "patch" + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "monthly" + labels: + - "skip changelog" + groups: + github-actions: + update-types: + - "minor" + - "patch" From 0a11f9d1b2a0945e225326c412c44e915ac12dc8 Mon Sep 17 00:00:00 2001 From: Schneems Date: Tue, 4 Nov 2025 16:00:46 -0600 Subject: [PATCH 2/2] Update messages --- .../tests/fails/generic_missing_bounds.stderr | 25 +++++++++---------- cache_diff/tests/fails/missing_display.stderr | 25 +++++++++++-------- 2 files changed, 26 insertions(+), 24 deletions(-) diff --git a/cache_diff/tests/fails/generic_missing_bounds.stderr b/cache_diff/tests/fails/generic_missing_bounds.stderr index 8ca7b3c..36b2f54 100644 --- a/cache_diff/tests/fails/generic_missing_bounds.stderr +++ b/cache_diff/tests/fails/generic_missing_bounds.stderr @@ -13,18 +13,17 @@ help: consider restricting type parameter `T` with trait `PartialEq` error[E0277]: `T` doesn't implement `std::fmt::Display` --> tests/fails/generic_missing_bounds.rs:3:10 | -3 | #[derive(CacheDiff)] - | ^^^^^^^^^ `T` cannot be formatted with the default formatter - | - = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead - = note: required for `&T` to implement `std::fmt::Display` + 3 | #[derive(CacheDiff)] + | ^^^^^^^^^ the trait `std::fmt::Display` is not implemented for `T` + | + = note: required for `&T` to implement `std::fmt::Display` note: required by a bound in `fmt_value` - --> src/lib.rs - | - | fn fmt_value(&self, value: &T) -> String { - | ^^^^^^^^^^^^^^^^^ required by this bound in `CacheDiff::fmt_value` - = note: this error originates in the derive macro `CacheDiff` (in Nightly builds, run with -Z macro-backtrace for more info) + --> src/lib.rs + | + | fn fmt_value(&self, value: &T) -> String { + | ^^^^^^^^^^^^^^^^^ required by this bound in `CacheDiff::fmt_value` + = note: this error originates in the derive macro `CacheDiff` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider restricting type parameter `T` with trait `Display` - | -4 | struct Example { - | +++++++++++++++++++ + | + 4 | struct Example { + | +++++++++++++++++++ diff --git a/cache_diff/tests/fails/missing_display.stderr b/cache_diff/tests/fails/missing_display.stderr index 7f2d6e6..e86a55a 100644 --- a/cache_diff/tests/fails/missing_display.stderr +++ b/cache_diff/tests/fails/missing_display.stderr @@ -1,15 +1,18 @@ error[E0277]: `NotDisplay` doesn't implement `std::fmt::Display` --> tests/fails/missing_display.rs:5:10 | -5 | #[derive(CacheDiff)] - | ^^^^^^^^^ `NotDisplay` cannot be formatted with the default formatter - | - = help: the trait `std::fmt::Display` is not implemented for `NotDisplay` - = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead - = note: required for `&NotDisplay` to implement `std::fmt::Display` + 5 | #[derive(CacheDiff)] + | ^^^^^^^^^ unsatisfied trait bound + | +help: the trait `std::fmt::Display` is not implemented for `NotDisplay` + --> tests/fails/missing_display.rs:3:1 + | + 3 | struct NotDisplay; + | ^^^^^^^^^^^^^^^^^ + = note: required for `&NotDisplay` to implement `std::fmt::Display` note: required by a bound in `fmt_value` - --> src/lib.rs - | - | fn fmt_value(&self, value: &T) -> String { - | ^^^^^^^^^^^^^^^^^ required by this bound in `CacheDiff::fmt_value` - = note: this error originates in the derive macro `CacheDiff` (in Nightly builds, run with -Z macro-backtrace for more info) + --> src/lib.rs + | + | fn fmt_value(&self, value: &T) -> String { + | ^^^^^^^^^^^^^^^^^ required by this bound in `CacheDiff::fmt_value` + = note: this error originates in the derive macro `CacheDiff` (in Nightly builds, run with -Z macro-backtrace for more info)