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

Bump syn from 1.0.48 to 1.0.62 #38

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Mar 8, 2021

Bumps syn from 1.0.48 to 1.0.62.

Release notes

Sourced from syn's releases.

1.0.62

1.0.61

  • Improve assertion failures on invalid use of Punctuated API (#970, thanks @​osa1)
  • Add Lifetime::span and Lifetime::set_span accessors (#971)

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)

... (truncated)

Commits
  • 5532e28 Release 1.0.62
  • d131635 Release 1.0.61
  • b2f1da2 Expose accessors on LitBool consistent with other Lit variants
  • de1a51d Merge pull request #971 from dtolnay/lifetime-span
  • 9001d9f Add Lifetime span getter and setter
  • 38d99a7 Touch up assertion messages from PR 970
  • f6460f4 Eliminate line break in middle of panic message from PR 970
  • 2b0c9bd Format PR 970 in rustfmt style
  • a782687 Merge pull request #970 from osa1/helpful_asserts
  • 0bd6d57 Ignore incorrect suggestion from manual_map lint
  • 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.48 to 1.0.62.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](dtolnay/syn@1.0.48...1.0.62)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Mar 8, 2021

The following labels could not be found: A2-insubstantial, B0-silent, C1-low.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Mar 11, 2021

Superseded by #40.

@dependabot dependabot bot closed this Mar 11, 2021
@dependabot dependabot bot deleted the dependabot/cargo/syn-1.0.62 branch March 11, 2021 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
0 participants