Skip to content

Commit

Permalink
Update with proc-macro2 1.0.83's syntax tree sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed May 20, 2024
1 parent 9f2371e commit 747f42f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
4 changes: 2 additions & 2 deletions tests/test_size.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 747f42f

Please sign in to comment.