Unverified Commit b2add075 authored by Luke Sandberg's avatar Luke Sandberg Committed by GitHub

Bump Rust toolchain (#95205)

Bump rust nightly version

Critically this fixes a bug in Rust Analyzer where it didn't understand
'pattern_types' a new rust feature that is used by `NonZero<T>` types
for example)


![image.png](https://app.graphite.com/user-attachments/assets/04c3a119-d08b-457a-bd55-6fe94da24806.png)

So now we can get feedback on the size of types containing vc!

From scanning release notes there is nothing major that i can see.
Clippy did flag one new warning that is being addressed as well.
parent 6c22d02c
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"dependsOn": { "dependsOn": {
"ghcr.io/devcontainers/features/rust:1": { "ghcr.io/devcontainers/features/rust:1": {
// this should match the `rust-toolchain.toml` // this should match the `rust-toolchain.toml`
"version": "nightly-2026-05-15", "version": "nightly-2026-06-24",
"profile": "minimal", "profile": "minimal",
"components": "rustfmt,clippy,rust-analyzer" "components": "rustfmt,clippy,rust-analyzer"
} }
......
# if you update this, also update `.devcontainer/rust/devcontainer-feature.json` # if you update this, also update `.devcontainer/rust/devcontainer-feature.json`
# if you move the file, also update any turbo.json inputs that references it. # if you move the file, also update any turbo.json inputs that references it.
[toolchain] [toolchain]
channel = "nightly-2026-05-15" channel = "nightly-2026-06-24"
components = ["rustfmt", "clippy", "rust-analyzer"] components = ["rustfmt", "clippy", "rust-analyzer"]
profile = "minimal" profile = "minimal"
...@@ -1478,7 +1478,7 @@ fn get_import_symbol_from_export(specifier: &ExportSpecifier) -> ImportedSymbol ...@@ -1478,7 +1478,7 @@ fn get_import_symbol_from_export(specifier: &ExportSpecifier) -> ImportedSymbol
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {
use swc_core::{atoms::Atom, common::DUMMY_SP, ecma::ast::*}; use swc_core::{atoms::Atom, common::DUMMY_SP};
use super::*; use super::*;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment