Skip to content

chore(deps): bump syn from 1.0.86 to 1.0.94 #2

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Oct 10, 2022

Bumps syn from 1.0.86 to 1.0.94.

Release notes

Sourced from syn's releases.

1.0.94

  • Resolve some unused_macro_rules warnings

1.0.93

  • Fix compile error when Some means something unusual in the expression namespace of the scope where custom_keyword is invoked (#1171, thanks @​zakarumych)

1.0.92

1.0.91

  • impl ToTokens for RangeLimits
  • impl Parse for ExprAwait
  • impl Parse for GenericMethodArgument
  • impl Parse for MethodTurbofish

1.0.90

  • Update recommended exhaustive matching idiom to use non_exhaustive_omitted_patterns lint:

    match expr {
        Expr::Array(e) => {}
        Expr::Assign(e) => {}
        ...
        Expr::Yield(e) => {}
    #[cfg_attr(test, deny(non_exhaustive_omitted_patterns))]
    _ => {/* some sane fallback */}
    
    }

1.0.89

  • Remove support for inner attributes on non-block expressions (#1146, rust-lang/rust#83312)
  • Fix panic on comma after mut self in a bare fn type (#1148)

1.0.88

  • Parse .. pattern in pattern of let (#1136)
  • Parse for<…> lifetime introducer on closures (#1135)
  • Reject postfix operators after cast (#1117)
  • Implement extra-traits for Nothing (#1144)

1.0.87

  • Parse trait bounds containing associated constant constraint (#1138)
  • Change syntax of where-clauses on generic associated types (#1071, rust-lang/rust#89122)
Commits
  • fd1a51c Release 1.0.94
  • f1396f5 Yet another unused macro rules lint
  • 209165e Merge unknown_lints + unused_macro_rules attribute
  • 2fc9b71 Format with rustfmt 1.4.38
  • accffbf Fix unused macro rule in no-default-features mode
  • e3798ce Fix obsolete rule in ast_enum_of_structs
  • 16315f5 Fix obsolete rule in check_keyword_matches
  • 189c60c Ignore unused_macro_rules warning in test macros
  • 11b4a93 Remove doc(hidden) attribute that is being phased out
  • 2e505a8 Release 1.0.93
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

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

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 10, 2022
lumag pushed a commit that referenced this pull request Mar 27, 2023
The naming of the `to_owned` method was a bit unfortunate as it
triggered conflicts with the `alloc::borrow::ToOwned` method. When used,
this would make for compiler messages asking things like:

```
error[E0034]: multiple applicable items in scope
   --> certval/src/validator/name_constraints_set.rs:748:34
    |
748 |                         value: a.to_owned(),
    |                                  ^^^^^^^^ multiple `to_owned` found
    |
    = note: candidate #1 is defined in an impl of the trait `RefToOwned` for the type `AnyRef<'a>`
    = note: candidate #2 is defined in an impl of the trait `ToOwned` for the type `T`
help: disambiguate the associated function for candidate #1
    |
748 |                         value: RefToOwned::to_owned(&a),
    |                                ~~~~~~~~~~~~~~~~~~~~~~~~
help: disambiguate the associated function for candidate #2
    |
748 |                         value: ToOwned::to_owned(&a),
    |                                ~~~~~~~~~~~~~~~~~~~~~
```
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.

0 participants