Skip to content

Commit 5628101

Browse files
authored
Merge pull request #519 from stepchowfun/rust-v1.92.0
Update Rust to v1.92.0
2 parents 1bf1f76 + eba5f80 commit 5628101

File tree

3 files changed

+13
-16
lines changed

3 files changed

+13
-16
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ jobs:
9090
# https://github.com/rust-lang/rustup/issues/2441
9191
#
9292
# for more information.
93-
rustup toolchain install 1.91.0 --no-self-update # [ref:rust_1.91.0]
94-
rustup default 1.91.0 # [ref:rust_1.91.0]
93+
rustup toolchain install 1.92.0 --no-self-update # [ref:rust_1.92.0]
94+
rustup default 1.92.0 # [ref:rust_1.92.0]
9595
9696
# Add the targets.
9797
rustup target add x86_64-pc-windows-msvc
@@ -131,8 +131,8 @@ jobs:
131131
set -euxo pipefail
132132
133133
# Install the appropriate version of Rust.
134-
rustup toolchain install 1.91.0 # [ref:rust_1.91.0]
135-
rustup default 1.91.0 # [ref:rust_1.91.0]
134+
rustup toolchain install 1.92.0 # [ref:rust_1.92.0]
135+
rustup default 1.92.0 # [ref:rust_1.92.0]
136136
137137
# Add the targets.
138138
rustup target add x86_64-apple-darwin
@@ -207,8 +207,8 @@ jobs:
207207
set -euxo pipefail
208208
209209
# Install the appropriate version of Rust.
210-
rustup toolchain install 1.91.0 # [ref:rust_1.91.0]
211-
rustup default 1.91.0 # [ref:rust_1.91.0]
210+
rustup toolchain install 1.92.0 # [ref:rust_1.92.0]
211+
rustup default 1.92.0 # [ref:rust_1.92.0]
212212
213213
# Fetch the program version.
214214
VERSION="$(cargo pkgid | cut -d# -f2 | cut -d: -f2)"

src/assertions.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,7 @@ macro_rules! assert_same {
5858

5959
#[cfg(test)]
6060
mod tests {
61-
use {
62-
crate::{assert_fails, assert_same, error::Error},
63-
std::fmt::Write,
64-
};
61+
use {crate::error::Error, std::fmt::Write};
6562

6663
#[test]
6764
#[should_panic(expected = "The expression was supposed to fail, but it succeeded.")]

toast.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ command_prefix: |
1717
cargo-offline () { cargo --frozen --offline "$@"; }
1818
1919
# Use this wrapper for formatting code or checking that code is formatted. We use a nightly Rust
20-
# version for the `trailing_comma` formatting option [tag:rust_fmt_nightly_2025-11-02]. The
20+
# version for the `trailing_comma` formatting option [tag:rust_fmt_nightly_2025-12-11]. The
2121
# nightly version was chosen as the latest available release with all components present
2222
# according to this page:
2323
# https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu.html
24-
cargo-fmt () { cargo +nightly-2025-11-02 --frozen --offline fmt --all -- "$@"; }
24+
cargo-fmt () { cargo +nightly-2025-12-11 --frozen --offline fmt --all -- "$@"; }
2525
2626
# Load the NVM startup file, if it exists.
2727
if [ -f "$HOME/.nvm/nvm.sh" ]; then
@@ -75,18 +75,18 @@ tasks:
7575
- install_packages
7676
- create_user
7777
command: |
78-
# Install stable Rust [tag:rust_1.91.0].
78+
# Install stable Rust [tag:rust_1.92.0].
7979
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \
8080
-y \
81-
--default-toolchain 1.91.0 \
81+
--default-toolchain 1.92.0 \
8282
--profile minimal \
8383
--component clippy
8484
8585
# Add Rust tools to `$PATH`.
8686
. "$HOME/.cargo/env"
8787
88-
# Install nightly Rust [ref:rust_fmt_nightly_2025-11-02].
89-
rustup toolchain install nightly-2025-11-02 --profile minimal --component rustfmt
88+
# Install nightly Rust [ref:rust_fmt_nightly_2025-12-11].
89+
rustup toolchain install nightly-2025-12-11 --profile minimal --component rustfmt
9090
9191
install_node:
9292
description: Install Node.js, a JavaScript runtime environment.

0 commit comments

Comments
 (0)