Release notes
*Sourced from [syn's releases](https://github.com/dtolnay/syn/releases).*
> ## 0.15.43
> - Fix support for rustc 1.27 through 1.29 which were failing to build Syn due to benchmarks that use 2018 edition
>
> ## 0.15.42
> - Accept a where-predicate with empty bounds list at end of input; useful for:
>
> ```rust
> let mut predicate: WherePredicate = parse_quote!(#ty:);
> // then conditionally add bounds
> ```
>
> ## 0.15.41
> - Parse async trait methods
> - Parse async nested functions in statement position
>
> ## 0.15.40
> - Fix broken doc links by switching to intra doc links ([#670](https://github-redirect.dependabot.com/dtolnay/syn/issues/670), [#671](https://github-redirect.dependabot.com/dtolnay/syn/issues/671))
>
> ## 0.15.39
> - Add a rule for `Token![$]` to refer to the syn::token::Dollar punctuation token ([#655](https://github-redirect.dependabot.com/dtolnay/syn/issues/655), thanks [@jix](https://github.com/jix))
> - Add [`Macro::parse_body`](https://docs.rs/syn/0.15/syn/struct.Macro.html#method.parse_body) method to parse tokens inside a macro invocation syntax tree node in a way that produces a useful span when the tokens are empty
>
> ## 0.15.38
> - Add [`syn::parse::discouraged::Speculative`](https://docs.rs/syn/0.15/syn/parse/discouraged/trait.Speculative.html) extension trait to support speculative parsing against `ParseStream` ([#649](https://github-redirect.dependabot.com/dtolnay/syn/issues/649), thanks [@CAD97](https://github.com/CAD97))
>
> ## 0.15.37
> - Emit inclusive ranges as `..=` rather than the deprecated `...` ([#652](https://github-redirect.dependabot.com/dtolnay/syn/issues/652), thanks [@jebrosen](https://github.com/jebrosen))
Commits
- [`3406f81`](https://github.com/dtolnay/syn/commit/3406f811744900e33172dafbbf43e2515673f088) Release 0.15.43
- [`7bc9a79`](https://github.com/dtolnay/syn/commit/7bc9a7930eda603ff3dc8c4ff153542ebc37fba3) Move benches out of main project
- [`b48a2b9`](https://github.com/dtolnay/syn/commit/b48a2b922e19968c3335fa8fd5a27eadbfa4414f) Release 0.15.42
- [`1e072a7`](https://github.com/dtolnay/syn/commit/1e072a7a85eeff4c4d30f2efeab90370325f950d) Accept empty bound list at end of input
- [`d11d8c9`](https://github.com/dtolnay/syn/commit/d11d8c9022ed69f6e88a1e14a18a594d2fda1036) Release 0.15.41
- [`dd52e0a`](https://github.com/dtolnay/syn/commit/dd52e0a79295f0692372d80e4e138d6a3919277f) Allow parsing async unsafe fn as item in block
- [`9082c76`](https://github.com/dtolnay/syn/commit/9082c7642b6aa45496aa1145a7baf881a110dcf5) Fix order of async unsafe specifiers in trait fn
- [`f4b0987`](https://github.com/dtolnay/syn/commit/f4b0987d69922b738da192228246cf8d49a6aa11) Allow trait methods to be async
- [`86de03a`](https://github.com/dtolnay/syn/commit/86de03a35439b98bf5c03b16d0c945a61902887d) Release 0.15.40
- [`6f33e4a`](https://github.com/dtolnay/syn/commit/6f33e4a3322e5e213b30d5c2f9cc239d7d8b81a1) Merge pull request [#671](https://github-redirect.dependabot.com/dtolnay/syn/issues/671) from dtolnay/link
- Additional commits viewable in [compare view](https://github.com/dtolnay/syn/compare/0.15.36...0.15.43)
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 ignore this ['minor'|'major'] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the specific version in this PR you can just close it
- `@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)
Finally, you can contact us by mentioning @dependabot.
Bumps syn from 0.15.36 to 0.15.43.
Release notes
*Sourced from [syn's releases](https://github.com/dtolnay/syn/releases).* > ## 0.15.43 > - Fix support for rustc 1.27 through 1.29 which were failing to build Syn due to benchmarks that use 2018 edition > > ## 0.15.42 > - Accept a where-predicate with empty bounds list at end of input; useful for: > > ```rust > let mut predicate: WherePredicate = parse_quote!(#ty:); > // then conditionally add bounds > ``` > > ## 0.15.41 > - Parse async trait methods > - Parse async nested functions in statement position > > ## 0.15.40 > - Fix broken doc links by switching to intra doc links ([#670](https://github-redirect.dependabot.com/dtolnay/syn/issues/670), [#671](https://github-redirect.dependabot.com/dtolnay/syn/issues/671)) > > ## 0.15.39 > - Add a rule for `Token![$]` to refer to the syn::token::Dollar punctuation token ([#655](https://github-redirect.dependabot.com/dtolnay/syn/issues/655), thanks [@jix](https://github.com/jix)) > - Add [`Macro::parse_body`](https://docs.rs/syn/0.15/syn/struct.Macro.html#method.parse_body) method to parse tokens inside a macro invocation syntax tree node in a way that produces a useful span when the tokens are empty > > ## 0.15.38 > - Add [`syn::parse::discouraged::Speculative`](https://docs.rs/syn/0.15/syn/parse/discouraged/trait.Speculative.html) extension trait to support speculative parsing against `ParseStream` ([#649](https://github-redirect.dependabot.com/dtolnay/syn/issues/649), thanks [@CAD97](https://github.com/CAD97)) > > ## 0.15.37 > - Emit inclusive ranges as `..=` rather than the deprecated `...` ([#652](https://github-redirect.dependabot.com/dtolnay/syn/issues/652), thanks [@jebrosen](https://github.com/jebrosen))Commits
- [`3406f81`](https://github.com/dtolnay/syn/commit/3406f811744900e33172dafbbf43e2515673f088) Release 0.15.43 - [`7bc9a79`](https://github.com/dtolnay/syn/commit/7bc9a7930eda603ff3dc8c4ff153542ebc37fba3) Move benches out of main project - [`b48a2b9`](https://github.com/dtolnay/syn/commit/b48a2b922e19968c3335fa8fd5a27eadbfa4414f) Release 0.15.42 - [`1e072a7`](https://github.com/dtolnay/syn/commit/1e072a7a85eeff4c4d30f2efeab90370325f950d) Accept empty bound list at end of input - [`d11d8c9`](https://github.com/dtolnay/syn/commit/d11d8c9022ed69f6e88a1e14a18a594d2fda1036) Release 0.15.41 - [`dd52e0a`](https://github.com/dtolnay/syn/commit/dd52e0a79295f0692372d80e4e138d6a3919277f) Allow parsing async unsafe fn as item in block - [`9082c76`](https://github.com/dtolnay/syn/commit/9082c7642b6aa45496aa1145a7baf881a110dcf5) Fix order of async unsafe specifiers in trait fn - [`f4b0987`](https://github.com/dtolnay/syn/commit/f4b0987d69922b738da192228246cf8d49a6aa11) Allow trait methods to be async - [`86de03a`](https://github.com/dtolnay/syn/commit/86de03a35439b98bf5c03b16d0c945a61902887d) Release 0.15.40 - [`6f33e4a`](https://github.com/dtolnay/syn/commit/6f33e4a3322e5e213b30d5c2f9cc239d7d8b81a1) Merge pull request [#671](https://github-redirect.dependabot.com/dtolnay/syn/issues/671) from dtolnay/link - Additional commits viewable in [compare view](https://github.com/dtolnay/syn/compare/0.15.36...0.15.43)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 ignore this ['minor'|'major'] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the specific version in this PR you can just close it - `@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) Finally, you can contact us by mentioning @dependabot.