Skip to content

build(rust): Update Rust toolchain to 1.90#2778

Merged
szokeasaurusrex merged 2 commits intomasterfrom
rust-toolchain/update-to-1.90
Sep 22, 2025
Merged

build(rust): Update Rust toolchain to 1.90#2778
szokeasaurusrex merged 2 commits intomasterfrom
rust-toolchain/update-to-1.90

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Sep 22, 2025

Update Rust toolchain to 1.90 (1.90.0).

Changes:

  • Update rust-toolchain.toml channel to 1.90

Release Notes: https://github.com/rust-lang/rust/releases/tag/1.90.0

Fixed lints

The following lints triggered after the update, they have been fixed:

warning: unnecessary parentheses around closure body
  --> src/commands/monitors/list.rs:20:30
   |
20 |     monitors.sort_by_key(|p| (p.name.clone()));
   |                              ^              ^
   |
   = note: `#[warn(unused_parens)]` on by default
help: remove these parentheses
   |
20 -     monitors.sort_by_key(|p| (p.name.clone()));
20 +     monitors.sort_by_key(|p| p.name.clone());
   |

warning: struct `GitHubAsset` is never constructed
    --> src/api/mod.rs:2181:8
     |
2181 | struct GitHubAsset {
     |        ^^^^^^^^^^^
     |
     = note: `#[warn(dead_code)]` on by default

warning: struct `GitHubRelease` is never constructed
    --> src/api/mod.rs:2187:8
     |
2187 | struct GitHubRelease {
     |        ^^^^^^^^^^^^^

🤖 This PR was created automatically by the Rust toolchain update bot.

@github-actions github-actions bot added the github_actions Pull requests that update GitHub Actions code label Sep 22, 2025
@github-actions github-actions bot requested review from a team and szokeasaurusrex as code owners September 22, 2025 00:25
@szokeasaurusrex szokeasaurusrex force-pushed the rust-toolchain/update-to-1.90 branch from 45d226a to 786e894 Compare September 22, 2025 07:53
These are the fixed lints, for reference

warning: unnecessary parentheses around closure body
  --> src/commands/monitors/list.rs:20:30
   |
20 |     monitors.sort_by_key(|p| (p.name.clone()));
   |                              ^              ^
   |
   = note: `#[warn(unused_parens)]` on by default
help: remove these parentheses
   |
20 -     monitors.sort_by_key(|p| (p.name.clone()));
20 +     monitors.sort_by_key(|p| p.name.clone());
   |

warning: struct `GitHubAsset` is never constructed
    --> src/api/mod.rs:2181:8
     |
2181 | struct GitHubAsset {
     |        ^^^^^^^^^^^
     |
     = note: `#[warn(dead_code)]` on by default

warning: struct `GitHubRelease` is never constructed
    --> src/api/mod.rs:2187:8
     |
2187 | struct GitHubRelease {
     |        ^^^^^^^^^^^^^
@szokeasaurusrex szokeasaurusrex enabled auto-merge (squash) September 22, 2025 08:02
@szokeasaurusrex szokeasaurusrex merged commit 8db571b into master Sep 22, 2025
25 checks passed
@szokeasaurusrex szokeasaurusrex deleted the rust-toolchain/update-to-1.90 branch September 22, 2025 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant