From 747f42f235f8e1b5551a6aeca1d2779dce413408 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 19 May 2024 19:39:45 -0700 Subject: [PATCH] Update with proc-macro2 1.0.83's syntax tree sizes --- Cargo.toml | 2 +- tests/test_size.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 59df89d849..c09a7d1e98 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,7 +35,7 @@ proc-macro = ["proc-macro2/proc-macro", "quote?/proc-macro"] test = ["syn-test-suite/all-features"] [dependencies] -proc-macro2 = { version = "1.0.80", default-features = false } +proc-macro2 = { version = "1.0.83", default-features = false } quote = { version = "1.0.35", optional = true, default-features = false } unicode-ident = "1" diff --git a/tests/test_size.rs b/tests/test_size.rs index d64a3ab6eb..32e6119c98 100644 --- a/tests/test_size.rs +++ b/tests/test_size.rs @@ -14,13 +14,13 @@ fn test_expr_size() { #[rustversion::attr(before(2022-09-09), ignore)] #[test] fn test_item_size() { - assert_eq!(mem::size_of::(), 360); + assert_eq!(mem::size_of::(), 352); } #[rustversion::attr(before(2023-04-29), ignore)] #[test] fn test_type_size() { - assert_eq!(mem::size_of::(), 232); + assert_eq!(mem::size_of::(), 224); } #[rustversion::attr(before(2023-04-29), ignore)]