Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jan 25, 2021

Bumps syn from 1.0.51 to 1.0.60.

Release notes

Sourced from syn's releases.

1.0.60

  • Provide an idiom for testing exhaustiveness of pattern matches on Expr, Type, Pat, Item, ForeignItem, TraitItem, and ImplItem (#694)

    match expr {
        Expr::Array(e) => {...}
        Expr::Assign(e) => {...}
        ...
        Expr::Yield(e) => {...}
    #[cfg(test)]
    Expr::__TestExhaustive(_) => unimplemented!(),
    #[cfg(not(test))]
    _ => { /* some sane fallback */ }
    
    }

    The above is the only supported idiom for exhaustive matching of those enum. Do not write anything differently as it is not supported.

    The conditional compilation on match-arms lets us fail your tests but not break your library when adding a variant. You will be notified by a test failure when a variant is added, so that you can add code to handle it, but your library will continue to compile and work for downstream users in the interim.

1.0.59

  • Parse empty supertrait lists consistently with rustc (#952)
  • Fix loss of span information on comma tokens inside of Type::Tuple during parse (#959)

1.0.58

  • Allow literals to parse as a const generic path argument even without "full" feature enabled (#951)

    pub struct Struct {
        array: Array<10>,  // used to require `features = "full"`
    }

1.0.57

  • Make Punctuated::new available as a const fn (#949)

1.0.56

1.0.55

  • Preserve None-delimited group around macro metavariable when parsing T<$ty> (#944, #945)

1.0.54

  • Fix parsing of impl items with macro metavariable in the trait path: impl $trait for Type {...} (#942)

1.0.53

  • Parse impl !Trait {...} syntax (#936)

1.0.52

... (truncated)

Commits

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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 25, 2021
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.51 to 1.0.60.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](dtolnay/syn@1.0.51...1.0.60)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/oak_loader/syn-1.0.60 branch from c783899 to 0d7478d Compare February 12, 2021 13:10
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Mar 5, 2021

Superseded by #27.

@dependabot dependabot bot closed this Mar 5, 2021
@dependabot dependabot bot deleted the dependabot/cargo/oak_loader/syn-1.0.60 branch March 5, 2021 06:03
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.

1 participant