Skip to content

Commit 8d14ff1

Browse files
chore(deps): Update Rust Stable to v1.91 (#6169)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent cd1a206 commit 8d14ff1

File tree

8 files changed

+32
-10
lines changed

8 files changed

+32
-10
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ jobs:
167167
- name: Install Rust
168168
uses: dtolnay/rust-toolchain@stable
169169
with:
170-
toolchain: "1.90" # STABLE
170+
toolchain: "1.91" # STABLE
171171
- uses: Swatinem/rust-cache@v2
172172
- name: UI Tests
173173
run: make test-ui-${{ matrix.features }}
@@ -210,7 +210,7 @@ jobs:
210210
- name: Install Rust
211211
uses: dtolnay/rust-toolchain@stable
212212
with:
213-
toolchain: "1.90" # STABLE
213+
toolchain: "1.91" # STABLE
214214
- uses: Swatinem/rust-cache@v2
215215
- name: Check documentation
216216
env:
@@ -225,7 +225,7 @@ jobs:
225225
- name: Install Rust
226226
uses: dtolnay/rust-toolchain@stable
227227
with:
228-
toolchain: "1.90" # STABLE
228+
toolchain: "1.91" # STABLE
229229
components: rustfmt
230230
- uses: Swatinem/rust-cache@v2
231231
- name: Check formatting
@@ -239,7 +239,7 @@ jobs:
239239
- name: Install Rust
240240
uses: dtolnay/rust-toolchain@stable
241241
with:
242-
toolchain: "1.90" # STABLE
242+
toolchain: "1.91" # STABLE
243243
components: clippy
244244
- uses: Swatinem/rust-cache@v2
245245
- name: Lint (ultra-minimal)

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ifneq (${TOOLCHAIN_TARGET},)
1010
ARGS+=--target ${TOOLCHAIN_TARGET}
1111
endif
1212

13-
STABLE?=1.90
13+
STABLE?=1.91
1414

1515
_FEATURES = minimal default wasm full debug release
1616
_FEATURES_minimal = --no-default-features --features "std"

tests/derive_ui.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#![cfg(feature = "unstable-derive-ui-tests")]
99

1010
#[cfg(feature = "derive")]
11-
#[rustversion::attr(not(stable(1.90)), ignore)] // STABLE
11+
#[rustversion::attr(not(stable(1.91)), ignore)] // STABLE
1212
#[test]
1313
fn ui() {
1414
let t = trybuild::TestCases::new();

tests/derive_ui/enum_variant_not_args.stderr

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@ error[E0277]: the trait bound `SubCmd: clap::Args` is not satisfied
22
--> tests/derive_ui/enum_variant_not_args.rs:3:9
33
|
44
3 | Sub(SubCmd),
5-
| ^^^^^^ the trait `clap::Args` is not implemented for `SubCmd`
5+
| ^^^^^^ unsatisfied trait bound
66
|
7+
help: the trait `clap::Args` is not implemented for `SubCmd`
8+
--> tests/derive_ui/enum_variant_not_args.rs:7:1
9+
|
10+
7 | enum SubCmd {}
11+
| ^^^^^^^^^^^
712
= help: the following other types implement trait `clap::Args`:
813
()
914
Box<T>

tests/derive_ui/flatten_enum_in_struct.stderr

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@ error[E0277]: the trait bound `SubCmd: clap::Args` is not satisfied
22
--> tests/derive_ui/flatten_enum_in_struct.rs:4:10
33
|
44
4 | sub: SubCmd,
5-
| ^^^^^^ the trait `clap::Args` is not implemented for `SubCmd`
5+
| ^^^^^^ unsatisfied trait bound
66
|
7+
help: the trait `clap::Args` is not implemented for `SubCmd`
8+
--> tests/derive_ui/flatten_enum_in_struct.rs:8:1
9+
|
10+
8 | enum SubCmd {}
11+
| ^^^^^^^^^^^
712
= help: the following other types implement trait `clap::Args`:
813
()
914
Box<T>

tests/derive_ui/flatten_struct_in_enum.stderr

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@ error[E0277]: the trait bound `SubCmd: Subcommand` is not satisfied
22
--> tests/derive_ui/flatten_struct_in_enum.rs:4:9
33
|
44
4 | Sub(SubCmd),
5-
| ^^^^^^ the trait `Subcommand` is not implemented for `SubCmd`
5+
| ^^^^^^ unsatisfied trait bound
66
|
7+
help: the trait `Subcommand` is not implemented for `SubCmd`
8+
--> tests/derive_ui/flatten_struct_in_enum.rs:8:1
9+
|
10+
8 | struct SubCmd {}
11+
| ^^^^^^^^^^^^^
712
= help: the following other types implement trait `Subcommand`:
813
()
914
Box<T>

tests/derive_ui/skip_without_default.stderr

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,10 @@ error[E0277]: the trait bound `Kind: Default` is not satisfied
22
--> tests/derive_ui/skip_without_default.rs:22:11
33
|
44
22 | #[arg(skip)]
5-
| ^^^^ the trait `Default` is not implemented for `Kind`
5+
| ^^^^ unsatisfied trait bound
6+
|
7+
help: the trait `Default` is not implemented for `Kind`
8+
--> tests/derive_ui/skip_without_default.rs:12:1
9+
|
10+
12 | enum Kind {
11+
| ^^^^^^^^^

tests/derive_ui/value_parser_unsupported.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ note: the traits `From`, `FromStr`, `ValueEnum`, and `ValueParserFactory` must
3737
|
3838
293 | pub trait ValueEnum: Sized + Clone {
3939
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
40+
|
4041
--> $RUST/core/src/convert/mod.rs
4142
--> $RUST/core/src/str/traits.rs
4243
= note: this error originates in the macro `clap::value_parser` (in Nightly builds, run with -Z macro-backtrace for more info)

0 commit comments

Comments
 (0)