Skip to content

Commit 747f42f

Browse files
committed
Update with proc-macro2 1.0.83's syntax tree sizes
1 parent 9f2371e commit 747f42f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ proc-macro = ["proc-macro2/proc-macro", "quote?/proc-macro"]
3535
test = ["syn-test-suite/all-features"]
3636

3737
[dependencies]
38-
proc-macro2 = { version = "1.0.80", default-features = false }
38+
proc-macro2 = { version = "1.0.83", default-features = false }
3939
quote = { version = "1.0.35", optional = true, default-features = false }
4040
unicode-ident = "1"
4141

tests/test_size.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ fn test_expr_size() {
1414
#[rustversion::attr(before(2022-09-09), ignore)]
1515
#[test]
1616
fn test_item_size() {
17-
assert_eq!(mem::size_of::<Item>(), 360);
17+
assert_eq!(mem::size_of::<Item>(), 352);
1818
}
1919

2020
#[rustversion::attr(before(2023-04-29), ignore)]
2121
#[test]
2222
fn test_type_size() {
23-
assert_eq!(mem::size_of::<Type>(), 232);
23+
assert_eq!(mem::size_of::<Type>(), 224);
2424
}
2525

2626
#[rustversion::attr(before(2023-04-29), ignore)]

0 commit comments

Comments
 (0)