Unverified Commit 6ea6270e authored by Will Binns-Smith's avatar Will Binns-Smith Committed by GitHub

Update rust toolchain to 2025-10-27 (#85409)

- **Remove now-unnecessary feature flag for new_zeroed_alloc**
- **Remove unused import**
- **Update toolchain to 2025-10-27**
parent 11a820d2
......@@ -78,11 +78,11 @@ impl Fold for NamedImportTransform {
// Create a new import declaration, keep everything the same except the source
let mut new_decl = decl.clone();
new_decl.src = Box::new(Str {
*new_decl.src = Str {
span: DUMMY_SP,
value: new_src.into(),
raw: None,
});
};
return new_decl;
}
......
......@@ -3042,6 +3042,7 @@ impl From<Name> for Box<Expr> {
optional,
} in value.1.into_iter()
{
#[allow(clippy::replace_box)]
if is_member {
expr = Box::new(Expr::Member(MemberExpr {
span: DUMMY_SP,
......
......@@ -100,7 +100,7 @@ fn make_named_import_esm(args: MakeNamedImportArgs) -> ModuleItem {
);
// the import source cannot be parametrized in `quote!()`, so patch it manually
let decl = item.as_mut_module_decl().unwrap().as_mut_import().unwrap();
decl.src = Box::new(source.into());
*decl.src = source.into();
item
}
......
# if you update this, also update `.devcontainer/rust/devcontainer-feature.json`
[toolchain]
channel = "nightly-2025-09-21"
channel = "nightly-2025-10-27"
components = ["rustfmt", "clippy", "rust-analyzer"]
profile = "minimal"
#![feature(once_cell_try)]
#![feature(new_zeroed_alloc)]
#![feature(get_mut_unchecked)]
#![feature(sync_unsafe_cell)]
#![feature(iter_collect_into)]
......
......@@ -33,7 +33,6 @@
#![feature(error_generic_member_access)]
#![feature(arbitrary_self_types)]
#![feature(arbitrary_self_types_pointers)]
#![feature(new_zeroed_alloc)]
#![feature(never_type)]
#![feature(downcast_unchecked)]
#![feature(ptr_metadata)]
......
......@@ -1241,7 +1241,6 @@ macro_rules! get_node_idx {
}
}};
}
pub(crate) use get_node_idx;
impl ModuleGraph {
pub async fn read_graphs(self: Vc<ModuleGraph>) -> Result<ModuleGraphRef> {
......
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