Skip to content

Commit bad2852

Browse files
chore(deps): Update Rust Stable to v1.93
1 parent 70a875e commit bad2852

3 files changed

Lines changed: 36 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
- name: Install Rust
108108
uses: dtolnay/rust-toolchain@stable
109109
with:
110-
toolchain: "1.92" # STABLE
110+
toolchain: "1.93" # STABLE
111111
- uses: Swatinem/rust-cache@v2
112112
- name: Check documentation
113113
env:
@@ -122,7 +122,7 @@ jobs:
122122
- name: Install Rust
123123
uses: dtolnay/rust-toolchain@stable
124124
with:
125-
toolchain: "1.92" # STABLE
125+
toolchain: "1.93" # STABLE
126126
components: rustfmt
127127
- uses: Swatinem/rust-cache@v2
128128
- name: Check formatting
@@ -138,7 +138,7 @@ jobs:
138138
- name: Install Rust
139139
uses: dtolnay/rust-toolchain@stable
140140
with:
141-
toolchain: "1.92" # STABLE
141+
toolchain: "1.93" # STABLE
142142
components: clippy
143143
- uses: Swatinem/rust-cache@v2
144144
- name: Install SARIF tools

crates/libtest2/tests/ui/unsupported_result_types.stderr

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,16 @@ error[E0277]: the trait bound `Result<i32, std::io::Error>: IntoRunResult` is no
77
| the trait `IntoRunResult` is not implemented for `Result<i32, std::io::Error>`
88
| required by a bound introduced by this call
99
|
10-
= help: the following other types implement trait `IntoRunResult`:
11-
Result<(), E>
12-
Result<(), RunError>
10+
help: the following other types implement trait `IntoRunResult`
11+
--> $WORKSPACE/crates/libtest2-harness/src/error.rs
12+
|
13+
| impl IntoRunResult for RunResult {
14+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result<(), RunError>`
15+
...
16+
| / impl<E> IntoRunResult for Result<(), E>
17+
| | where
18+
| | E: std::error::Error + Send + Sync + 'static,
19+
| |_________________________________________________^ `Result<(), E>`
1320
= 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)
1421

1522
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
2128
| the trait `std::error::Error` is not implemented for `String`
2229
| required by a bound introduced by this call
2330
|
24-
= help: the following other types implement trait `IntoRunResult`:
25-
Result<(), E>
26-
Result<(), RunError>
31+
help: the following other types implement trait `IntoRunResult`
32+
--> $WORKSPACE/crates/libtest2-harness/src/error.rs
33+
|
34+
| impl IntoRunResult for RunResult {
35+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result<(), RunError>`
36+
...
37+
| / impl<E> IntoRunResult for Result<(), E>
38+
| | where
39+
| | E: std::error::Error + Send + Sync + 'static,
40+
| |_________________________________________________^ `Result<(), E>`
2741
= note: required for `Result<(), String>` to implement `IntoRunResult`
2842
= 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)

crates/libtest2/tests/ui/unsupported_return_type.stderr

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,17 @@ error[E0277]: the trait bound `i32: IntoRunResult` is not satisfied
77
| the trait `IntoRunResult` is not implemented for `i32`
88
| required by a bound introduced by this call
99
|
10-
= help: the following other types implement trait `IntoRunResult`:
11-
()
12-
Result<(), E>
13-
Result<(), RunError>
10+
help: the following other types implement trait `IntoRunResult`
11+
--> $WORKSPACE/crates/libtest2-harness/src/error.rs
12+
|
13+
| impl IntoRunResult for () {
14+
| ^^^^^^^^^^^^^^^^^^^^^^^^^ `()`
15+
...
16+
| impl IntoRunResult for RunResult {
17+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result<(), RunError>`
18+
...
19+
| / impl<E> IntoRunResult for Result<(), E>
20+
| | where
21+
| | E: std::error::Error + Send + Sync + 'static,
22+
| |_________________________________________________^ `Result<(), E>`
1423
= 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)

0 commit comments

Comments
 (0)