From bad28520cb9fbfb351966e7c543e9e7eca5f928a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 22 Jan 2026 17:50:49 +0000 Subject: [PATCH] chore(deps): Update Rust Stable to v1.93 --- .github/workflows/ci.yml | 6 ++--- .../tests/ui/unsupported_result_types.stderr | 26 ++++++++++++++----- .../tests/ui/unsupported_return_type.stderr | 17 +++++++++--- 3 files changed, 36 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1755c7c..3578ae0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -107,7 +107,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable with: - toolchain: "1.92" # STABLE + toolchain: "1.93" # STABLE - uses: Swatinem/rust-cache@v2 - name: Check documentation env: @@ -122,7 +122,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable with: - toolchain: "1.92" # STABLE + toolchain: "1.93" # STABLE components: rustfmt - uses: Swatinem/rust-cache@v2 - name: Check formatting @@ -138,7 +138,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable with: - toolchain: "1.92" # STABLE + toolchain: "1.93" # STABLE components: clippy - uses: Swatinem/rust-cache@v2 - name: Install SARIF tools diff --git a/crates/libtest2/tests/ui/unsupported_result_types.stderr b/crates/libtest2/tests/ui/unsupported_result_types.stderr index e8493e4..313dc19 100644 --- a/crates/libtest2/tests/ui/unsupported_result_types.stderr +++ b/crates/libtest2/tests/ui/unsupported_result_types.stderr @@ -7,9 +7,16 @@ error[E0277]: the trait bound `Result: IntoRunResult` is no | the trait `IntoRunResult` is not implemented for `Result` | required by a bound introduced by this call | - = help: the following other types implement trait `IntoRunResult`: - Result<(), E> - Result<(), RunError> +help: the following other types implement trait `IntoRunResult` + --> $WORKSPACE/crates/libtest2-harness/src/error.rs + | + | impl IntoRunResult for RunResult { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result<(), RunError>` +... + | / impl IntoRunResult for Result<(), E> + | | where + | | E: std::error::Error + Send + Sync + 'static, + | |_________________________________________________^ `Result<(), E>` = note: this error originates in the macro `$crate::_private::test_parse` which comes from the expansion of the attribute macro `libtest2::test` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `String: std::error::Error` is not satisfied @@ -21,8 +28,15 @@ error[E0277]: the trait bound `String: std::error::Error` is not satisfied | the trait `std::error::Error` is not implemented for `String` | required by a bound introduced by this call | - = help: the following other types implement trait `IntoRunResult`: - Result<(), E> - Result<(), RunError> +help: the following other types implement trait `IntoRunResult` + --> $WORKSPACE/crates/libtest2-harness/src/error.rs + | + | impl IntoRunResult for RunResult { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result<(), RunError>` +... + | / impl IntoRunResult for Result<(), E> + | | where + | | E: std::error::Error + Send + Sync + 'static, + | |_________________________________________________^ `Result<(), E>` = note: required for `Result<(), String>` to implement `IntoRunResult` = note: this error originates in the macro `$crate::_private::test_parse` which comes from the expansion of the attribute macro `libtest2::test` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/crates/libtest2/tests/ui/unsupported_return_type.stderr b/crates/libtest2/tests/ui/unsupported_return_type.stderr index d6e7713..b4c9201 100644 --- a/crates/libtest2/tests/ui/unsupported_return_type.stderr +++ b/crates/libtest2/tests/ui/unsupported_return_type.stderr @@ -7,8 +7,17 @@ error[E0277]: the trait bound `i32: IntoRunResult` is not satisfied | the trait `IntoRunResult` is not implemented for `i32` | required by a bound introduced by this call | - = help: the following other types implement trait `IntoRunResult`: - () - Result<(), E> - Result<(), RunError> +help: the following other types implement trait `IntoRunResult` + --> $WORKSPACE/crates/libtest2-harness/src/error.rs + | + | impl IntoRunResult for () { + | ^^^^^^^^^^^^^^^^^^^^^^^^^ `()` +... + | impl IntoRunResult for RunResult { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result<(), RunError>` +... + | / impl IntoRunResult for Result<(), E> + | | where + | | E: std::error::Error + Send + Sync + 'static, + | |_________________________________________________^ `Result<(), E>` = note: this error originates in the macro `$crate::_private::test_parse` which comes from the expansion of the attribute macro `libtest2::test` (in Nightly builds, run with -Z macro-backtrace for more info)