Release notes
*Sourced from [syn's releases](https://github.com/dtolnay/syn/releases).*
> ## 1.0.9
> - Fix failure to parse tuple struct fields of tuple type starting with `crate` ([#720](https://github-redirect.dependabot.com/dtolnay/syn/issues/720), [#723](https://github-redirect.dependabot.com/dtolnay/syn/issues/723), thanks [@mystor](https://github.com/mystor))
> - Fix unexpected tokens being ignored when using Speculative::advance_to ([#721](https://github-redirect.dependabot.com/dtolnay/syn/issues/721), [#723](https://github-redirect.dependabot.com/dtolnay/syn/issues/723), thanks [@mystor](https://github.com/mystor))
>
> ## 1.0.8
> - Require trailing comma when parsing TypeTuple with one element ([#716](https://github-redirect.dependabot.com/dtolnay/syn/issues/716), thanks [@8BitMate](https://github.com/8BitMate))
>
> ## 1.0.7
> - Add a receiver getter to syn::Signature ([#714](https://github-redirect.dependabot.com/dtolnay/syn/issues/714), thanks [@mystor](https://github.com/mystor))
>
> ```rust
> impl Signature {
> /// A method's `self` receiver, such as `&self` or `self: Box`.
> pub fn receiver(&self) -> Option<&FnArg>;
> }
> ```
>
> ## 1.0.6
> - Add conversions from Item{Struct,Enum,Union} into DeriveInput ([#711](https://github-redirect.dependabot.com/dtolnay/syn/issues/711), thanks [@mystor](https://github.com/mystor))
> - Add Fields::len and Fields::is_empty ([#712](https://github-redirect.dependabot.com/dtolnay/syn/issues/712), thanks [@mjbshaw](https://github.com/mjbshaw))
>
> ## 1.0.5
> - Expose syn::Variadic with just "derive" feature, not "full", because it appears in Type::BareFn
>
> ## 1.0.4
> - Fix size_hint of Punctuated iterators ([#700](https://github-redirect.dependabot.com/dtolnay/syn/issues/700), thanks [@ExpHP](https://github.com/ExpHP))
>
> ## 1.0.3
> - Add [`Path::get_ident`](https://docs.rs/syn/1.0/syn/struct.Path.html#method.get_ident) ([#696](https://github-redirect.dependabot.com/dtolnay/syn/issues/696), thanks [@infinity0](https://github.com/infinity0))
>
> ## 1.0.2
> - Documentation improvements
>
> ## 1.0.1
> - Add [`LitInt::base10_parse`](https://docs.rs/syn/1.0/syn/struct.LitInt.html#method.base10_parse) to produce error that has the right span when parsing literal digits
>
> ## 1.0.0
> Syn is a library for parsing Rust code, largely geared toward use in procedural macros but generally applicable as a Rust parser outside of that too.
>
> Syn was originally a sidequest on the effort to making [Serde]'s derive macros work on stable Rust in 2016, but has since taken off as a foundational library in its own right. These days it appears in support of diverse use cases like:
>
> - [convenient interop between Rust-based Wasm modules and JavaScript][wasm-bindgen],
> - [easy command line interfaces][structopt],
> - [a polished async experience][runtime], and
> - [a concurrency framework for embedded real time systems][rtfm].
>
> [Serde]: https://serde.rs/
> [wasm-bindgen]: https://github.com/rustwasm/wasm-bindgen
> [structopt]: https://docs.rs/structopt/0.2.18/structopt/
> [runtime]: https://github.com/rustasync/runtime
> ... (truncated)
Commits
- [`6741d4e`](https://github.com/dtolnay/syn/commit/6741d4e2b00bc2fd5a4aabe07f2b2112d4ef9f12) Release 1.0.9
- [`ca2c5ad`](https://github.com/dtolnay/syn/commit/ca2c5ada0083f666052cd0ddf247d9f85d43a442) Touch up ParseBuffer::unexpected changes
- [`6bf971d`](https://github.com/dtolnay/syn/commit/6bf971d1e2eff88d7e984792a2388e2b07b39303) Format with rustfmt 2019-10-07
- [`66bae29`](https://github.com/dtolnay/syn/commit/66bae29a4fa45b04a4449ba47e87c6a23eb0f336) Merge pull request [#723](https://github-redirect.dependabot.com/dtolnay/syn/issues/723) from mystor/vis_parsing
- [`112af68`](https://github.com/dtolnay/syn/commit/112af6818c6039b899828d70ef905217ca4a4f11) Chain unexpected errors from forked streams after 'advance_to'
- [`466fc9b`](https://github.com/dtolnay/syn/commit/466fc9b25cfad303e8e37352e6947469e3da93bb) Fix parse error when parsing pub(crate::path)
- [`e53f215`](https://github.com/dtolnay/syn/commit/e53f215908abff3fa70d92c4061afd55ed408877) Add tests for Visibility parsing
- [`7b2e271`](https://github.com/dtolnay/syn/commit/7b2e2717816ffc8c4482bb4af0fa010cf5a5046a) Update test suite to nightly-2019-11-26
- [`6cb2e91`](https://github.com/dtolnay/syn/commit/6cb2e917c633de057910b6cbe2d55309409a9650) Check http response for error code
- [`258be85`](https://github.com/dtolnay/syn/commit/258be854bfaf178e725fe3cc2632edf408bab4c1) Remove unneeded lifetime from static in test
- Additional commits viewable in [compare view](https://github.com/dtolnay/syn/compare/0.15.36...1.0.9)
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 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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps syn from 0.15.36 to 1.0.9.
Release notes
*Sourced from [syn's releases](https://github.com/dtolnay/syn/releases).* > ## 1.0.9 > - Fix failure to parse tuple struct fields of tuple type starting with `crate` ([#720](https://github-redirect.dependabot.com/dtolnay/syn/issues/720), [#723](https://github-redirect.dependabot.com/dtolnay/syn/issues/723), thanks [@mystor](https://github.com/mystor)) > - Fix unexpected tokens being ignored when using Speculative::advance_to ([#721](https://github-redirect.dependabot.com/dtolnay/syn/issues/721), [#723](https://github-redirect.dependabot.com/dtolnay/syn/issues/723), thanks [@mystor](https://github.com/mystor)) > > ## 1.0.8 > - Require trailing comma when parsing TypeTuple with one element ([#716](https://github-redirect.dependabot.com/dtolnay/syn/issues/716), thanks [@8BitMate](https://github.com/8BitMate)) > > ## 1.0.7 > - Add a receiver getter to syn::Signature ([#714](https://github-redirect.dependabot.com/dtolnay/syn/issues/714), thanks [@mystor](https://github.com/mystor)) > > ```rust > impl Signature { > /// A method's `self` receiver, such as `&self` or `self: BoxCommits
- [`6741d4e`](https://github.com/dtolnay/syn/commit/6741d4e2b00bc2fd5a4aabe07f2b2112d4ef9f12) Release 1.0.9 - [`ca2c5ad`](https://github.com/dtolnay/syn/commit/ca2c5ada0083f666052cd0ddf247d9f85d43a442) Touch up ParseBuffer::unexpected changes - [`6bf971d`](https://github.com/dtolnay/syn/commit/6bf971d1e2eff88d7e984792a2388e2b07b39303) Format with rustfmt 2019-10-07 - [`66bae29`](https://github.com/dtolnay/syn/commit/66bae29a4fa45b04a4449ba47e87c6a23eb0f336) Merge pull request [#723](https://github-redirect.dependabot.com/dtolnay/syn/issues/723) from mystor/vis_parsing - [`112af68`](https://github.com/dtolnay/syn/commit/112af6818c6039b899828d70ef905217ca4a4f11) Chain unexpected errors from forked streams after 'advance_to' - [`466fc9b`](https://github.com/dtolnay/syn/commit/466fc9b25cfad303e8e37352e6947469e3da93bb) Fix parse error when parsing pub(crate::path) - [`e53f215`](https://github.com/dtolnay/syn/commit/e53f215908abff3fa70d92c4061afd55ed408877) Add tests for Visibility parsing - [`7b2e271`](https://github.com/dtolnay/syn/commit/7b2e2717816ffc8c4482bb4af0fa010cf5a5046a) Update test suite to nightly-2019-11-26 - [`6cb2e91`](https://github.com/dtolnay/syn/commit/6cb2e917c633de057910b6cbe2d55309409a9650) Check http response for error code - [`258be85`](https://github.com/dtolnay/syn/commit/258be854bfaf178e725fe3cc2632edf408bab4c1) Remove unneeded lifetime from static in test - Additional commits viewable in [compare view](https://github.com/dtolnay/syn/compare/0.15.36...1.0.9)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 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)