From 5129a06de930b0ff081055c0a3c440f95fce6a0d Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 29 Mar 2023 03:18:02 +0000
Subject: [PATCH] Bump synstructure from 0.12.6 to 0.13.0 (#2746)
Bumps [synstructure](https://github.com/mystor/synstructure) from 0.12.6 to 0.13.0.
Commits
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=synstructure&package-manager=cargo&previous-version=0.12.6&new-version=0.13.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Co-authored-by: jedel1043
---
Cargo.lock | 22 +++++++++++++++++-----
boa_macros/Cargo.toml | 2 +-
boa_macros/src/lib.rs | 2 +-
3 files changed, 19 insertions(+), 7 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 55ae5f3ade..9f3451bdc7 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -435,7 +435,7 @@ dependencies = [
"proc-macro2",
"quote",
"syn 2.0.11",
- "synstructure",
+ "synstructure 0.13.0",
]
[[package]]
@@ -1119,7 +1119,7 @@ dependencies = [
"proc-macro2",
"quote",
"syn 1.0.109",
- "synstructure",
+ "synstructure 0.12.6",
]
[[package]]
@@ -3903,6 +3903,18 @@ dependencies = [
"unicode-xid",
]
+[[package]]
+name = "synstructure"
+version = "0.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "285ba80e733fac80aa4270fbcdf83772a79b80aa35c97075320abfee4a915b06"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.11",
+ "unicode-xid",
+]
+
[[package]]
name = "sys-info"
version = "0.9.1"
@@ -5035,7 +5047,7 @@ dependencies = [
"proc-macro2",
"quote",
"syn 1.0.109",
- "synstructure",
+ "synstructure 0.12.6",
]
[[package]]
@@ -5056,7 +5068,7 @@ dependencies = [
"proc-macro2",
"quote",
"syn 1.0.109",
- "synstructure",
+ "synstructure 0.12.6",
]
[[package]]
@@ -5081,7 +5093,7 @@ dependencies = [
"proc-macro2",
"quote",
"syn 1.0.109",
- "synstructure",
+ "synstructure 0.12.6",
]
[[package]]
diff --git a/boa_macros/Cargo.toml b/boa_macros/Cargo.toml
index e026eeac8e..cd7e4e0ad1 100644
--- a/boa_macros/Cargo.toml
+++ b/boa_macros/Cargo.toml
@@ -16,4 +16,4 @@ proc-macro = true
quote = "1.0.26"
syn = { version = "2.0.11", features = ["full"] }
proc-macro2 = "1.0"
-synstructure = "0.12"
+synstructure = "0.13"
diff --git a/boa_macros/src/lib.rs b/boa_macros/src/lib.rs
index cb7c68b223..090a98d47b 100644
--- a/boa_macros/src/lib.rs
+++ b/boa_macros/src/lib.rs
@@ -225,7 +225,7 @@ fn derive_trace(mut s: Structure<'_>) -> proc_macro2::TokenStream {
!bi.ast()
.attrs
.iter()
- .any(|attr| attr.path.is_ident("unsafe_ignore_trace"))
+ .any(|attr| attr.path().is_ident("unsafe_ignore_trace"))
});
let trace_body = s.each(|bi| quote!(mark(#bi)));