From 9254260e7834d6c0c8d0906a8d778fece0a2ff7d Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Sat, 25 Feb 2023 12:28:44 +0000 Subject: [PATCH] chore: toolchain upgrade (#4237) --- crates/rome_diagnostics/src/error.rs | 1 + rust-toolchain.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/rome_diagnostics/src/error.rs b/crates/rome_diagnostics/src/error.rs index 3cd28773e6c..fd31590cf66 100644 --- a/crates/rome_diagnostics/src/error.rs +++ b/crates/rome_diagnostics/src/error.rs @@ -167,6 +167,7 @@ struct ErrorVTable { /// Internal storage struct used to pack a vtable instance along with a /// diagnostic object. +#[repr(C)] struct ErrorImpl { vtable: &'static ErrorVTable, diag: D, diff --git a/rust-toolchain.toml b/rust-toolchain.toml index aef0a9a008f..64d7edff80b 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -2,4 +2,4 @@ # The default profile includes rustc, rust-std, cargo, rust-docs, rustfmt and clippy. # https://rust-lang.github.io/rustup/concepts/profiles.html profile = "default" -channel = "1.66.1" +channel = "1.67.1"