aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2024-05-19 19:39:45 -0700
committerDavid Tolnay <dtolnay@gmail.com>2024-05-19 19:39:45 -0700
commit747f42f235f8e1b5551a6aeca1d2779dce413408 (patch)
tree2f5cfb76ea5f0ab4f2ab6bbf165ba1797e37feea
parent9f2371eefa6f681b53e4d74458d86dd41673227f (diff)
downloadsyn-upstream-master.tar.gz
Update with proc-macro2 1.0.83's syntax tree sizesupstream-master
-rw-r--r--Cargo.toml2
-rw-r--r--tests/test_size.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 59df89d8..c09a7d1e 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 d64a3ab6..32e6119c 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::<Item>(), 360);
+ assert_eq!(mem::size_of::<Item>(), 352);
}
#[rustversion::attr(before(2023-04-29), ignore)]
#[test]
fn test_type_size() {
- assert_eq!(mem::size_of::<Type>(), 232);
+ assert_eq!(mem::size_of::<Type>(), 224);
}
#[rustversion::attr(before(2023-04-29), ignore)]