From 5f8ddfb5a8edd1d1ecda89ee8c93c5a0512253c5 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 28 Sep 2022 19:01:54 -0700 Subject: [PATCH] Pull in proc-macro2 1.0.46 for byte order mark fix Without this, our benchmarks fail against the current contents of the rust-lang/rust repo. $ cargo test --release --bench rust --features full,test 871050 lines in 12914 files read_from_disk: elapsed=0.170s tokenstream_parse: FAIL tests/rust/src/test/ui/json/json-bom-plus-crlf-multifile-aux.rs thread 'main' panicked at 'assertion failed: `(left == right)` left: `12913`, right: `12914`', benches/rust.rs:122:5 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 629e9d41bf..e096bcc040 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,7 +36,7 @@ proc-macro = ["proc-macro2/proc-macro", "quote/proc-macro"] test = ["syn-test-suite/all-features"] [dependencies] -proc-macro2 = { version = "1.0.39", default-features = false } +proc-macro2 = { version = "1.0.46", default-features = false } quote = { version = "1.0", optional = true, default-features = false } unicode-ident = "1.0"