From 60427ac5be3d1129fc318ef82cf7aa0228a45466 Mon Sep 17 00:00:00 2001 From: Scott Schafer Date: Tue, 18 Nov 2025 11:17:09 -0700 Subject: [PATCH] feat: Enable annotate-snippets' simd feature --- Cargo.lock | 1 + compiler/rustc_errors/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 9dce64ce66ab6..e186ba343b291 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -85,6 +85,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a44baf24dd94e781f74dfe67ffee75a09a57971ddf0f615a178b4f6d404b48ff" dependencies = [ "anstyle", + "memchr", "unicode-width 0.2.2", ] diff --git a/compiler/rustc_errors/Cargo.toml b/compiler/rustc_errors/Cargo.toml index b3f76732a602c..a513a0345c3b7 100644 --- a/compiler/rustc_errors/Cargo.toml +++ b/compiler/rustc_errors/Cargo.toml @@ -5,7 +5,7 @@ edition = "2024" [dependencies] # tidy-alphabetical-start -annotate-snippets = "0.12.9" +annotate-snippets = { version = "0.12.9", features = ["simd"] } anstream = "0.6.20" anstyle = "1.0.13" derive_setters = "0.1.6"