Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump syn from 1.0.109 to 2.0.28 #11641

Merged
merged 3 commits into from
Aug 15, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 11, 2023

Bumps syn from 1.0.109 to 2.0.28.

Release notes

Sourced from syn's releases.

2.0.28

  • Fix inconsistency between full and non-full expression parse errors (#1491)

2.0.27

2.0.26

  • Implement Spanned for QSelf (#1465)

2.0.25

  • Support single identifier as unbraced const generic argument (#1483)
  • Produce error message when LitStr::parse is used on a suffixed string literal (#1484)

2.0.24

  • Fix duplication of braces around const generic argument in non-full mode (#1482)

2.0.23

  • Preserve attributes on verbatim Item in statement position (#1476)
  • Support generic_const_exprs where-clauses such as where [(); { T::COUNT }]: in non-"full" mode (#1478)

2.0.22

2.0.21

  • Fix value computed by LitByteStr::value in the case of a cooked byte string literal containing form feed or vertical tab characters following an escaped newline (#1474)

2.0.20

  • Documentation improvements

2.0.19

2.0.18

  • Permit empty attr in syn::meta::parser (#1460)

2.0.17

  • Enable proc_macro support on wasm targets (#1459)

2.0.16

2.0.15

  • Ensure Type::Tuple of length 1 prints as a tuple even if trailing comma is not provided in the Punctuated (#1444, thanks @​Fancyflame)

2.0.14

2.0.13

  • Improve spans of Expr::Field parsed from a float Literal (#1433, #1436)

... (truncated)

Commits
  • 44c5fdd Release 2.0.28
  • 65aa662 Merge pull request #1491 from dtolnay/expectedexpr
  • 91c84f6 Fix trivial difference between full and non-full expression parse errors
  • f79ba15 Update test suite to nightly-2023-07-29
  • 41c3847 Update test suite to nightly-2023-07-27
  • a171121 Release syn-codegen 0.4.1
  • dd250f4 Also add --generate-link-to-definition for syn-codegen
  • bb23493 Release 2.0.27
  • e3a15a9 Opt in to generate-link-to-definition when building on docs.rs
  • 36a743a Merge pull request #1490 from dtolnay/docinline
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [syn](https://github.com/dtolnay/syn) from 1.0.109 to 2.0.28.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](dtolnay/syn@1.0.109...2.0.28)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 11, 2023
Signed-off-by: Runji Wang <[email protected]>
@wangrunji0408 wangrunji0408 force-pushed the dependabot/cargo/syn-2.0.28 branch from 7a37c3a to 34cfe07 Compare August 14, 2023 08:24
Signed-off-by: Runji Wang <[email protected]>
@wangrunji0408
Copy link
Contributor

This PR also resolves this issue:

          It seems a typo would make it ineffective silently `#[xxx(.., nam)]`. How can we improve on this? Maybe warn on all unrecognized names?

Originally posted by @xiangjinwu in #11189 (comment)

Now an unexpected property will result in an error.

@codecov
Copy link

codecov bot commented Aug 14, 2023

Codecov Report

Merging #11641 (567536c) into main (cfa7a52) will decrease coverage by 0.02%.
Report is 19 commits behind head on main.
The diff coverage is 93.79%.

@@            Coverage Diff             @@
##             main   #11641      +/-   ##
==========================================
- Coverage   70.30%   70.28%   -0.02%     
==========================================
  Files        1359     1358       -1     
  Lines      227191   227199       +8     
==========================================
- Hits       159717   159684      -33     
- Misses      67474    67515      +41     
Flag Coverage Δ
rust 70.28% <93.79%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
src/expr/src/vector_op/array_range_access.rs 7.14% <ø> (ø)
src/expr/macro/src/parse.rs 90.44% <90.00%> (-0.47%) ⬇️
src/prost/helpers/src/generate.rs 94.11% <93.75%> (+1.01%) ⬆️
src/expr/macro/src/gen.rs 96.05% <95.83%> (+0.07%) ⬆️
src/expr/macro/src/lib.rs 93.82% <100.00%> (-0.98%) ⬇️

... and 7 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@wangrunji0408 wangrunji0408 added this pull request to the merge queue Aug 15, 2023
Merged via the queue into main with commit b0fe70d Aug 15, 2023
@wangrunji0408 wangrunji0408 deleted the dependabot/cargo/syn-2.0.28 branch August 15, 2023 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants