diff --git a/rust/perspective-viewer/rust-toolchain.toml b/rust/perspective-viewer/rust-toolchain.toml index 630486e723..a2dc41062a 100644 --- a/rust/perspective-viewer/rust-toolchain.toml +++ b/rust/perspective-viewer/rust-toolchain.toml @@ -11,6 +11,6 @@ # ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ [toolchain] -channel = "nightly-2023-10-12" +channel = "nightly-2024-05-07" components = ["rustfmt", "clippy", "rust-src"] targets = ["wasm32-unknown-unknown"] diff --git a/rust/perspective-viewer/src/rust/lib.rs b/rust/perspective-viewer/src/rust/lib.rs index fbc981480c..4e2d8ef9ca 100644 --- a/rust/perspective-viewer/src/rust/lib.rs +++ b/rust/perspective-viewer/src/rust/lib.rs @@ -12,13 +12,11 @@ // Required by yew's `html` macro. #![recursion_limit = "1024"] -#![feature(async_fn_in_trait)] #![feature(const_type_name)] #![feature(lazy_cell)] #![feature(let_chains)] #![feature(macro_metavar_expr)] #![feature(iter_intersperse)] -#![feature(return_position_impl_trait_in_trait)] #![feature(stmt_expr_attributes)] #![warn( clippy::all, diff --git a/rust/perspective-viewer/src/rust/utils/tee.rs b/rust/perspective-viewer/src/rust/utils/tee.rs index b48b90bf59..1ffe8de2b8 100644 --- a/rust/perspective-viewer/src/rust/utils/tee.rs +++ b/rust/perspective-viewer/src/rust/utils/tee.rs @@ -54,10 +54,10 @@ impl Tee for T { macro_rules! gen_tee { ($($x:ty),*) => { - impl TeeInternal<{${count(x)} + 1}> for T { + impl TeeInternal<{${count($x)} + 1}> for T { type Output = ($($x),*, T); fn tee_internal(self) -> Self::Output { - ($( ${ignore(x)} self.clone() ),*, self) + ($( ${ignore($x)} self.clone() ),*, self) } } };