Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Bump thiserror from 1.0.20 to 1.0.31 #144

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 2, 2022

Bumps thiserror from 1.0.20 to 1.0.31.

Release notes

Sourced from thiserror's releases.

1.0.31

  • Improve diagnostic when there is an enum variant containing #[from] #[backtrace] Error, Backtrace (#163)

1.0.30

  • Make #[source] attribute usable on a field of type Box<dyn Error + Send + Sync + UnwindSafe + 'static> (#155, thanks @​cosmicexplorer)

1.0.29

  • Support error types containing generic type parameters (#148, #149, #150, #151)

    use thiserror::Error;
    #[derive(Error, Debug)]
    pub enum MyError<E, F, G> {
    #[error("thing {0} ({0:?})")]
    Variant(E),
    #[error("some error")]
    Delegate(#[source] SomeError<F>),
    #[error("err 0o{val:o}")]
    Octal { val: G },
    }

    In the above example, thiserror would automatically generate the following pair of generic trait impls.

    impl<E, F, G> std::error::Error for MyError<E, F, G>
    where
        SomeError<F>: std::error::Error + 'static,
        Self: std::fmt::Debug + std::fmt::Display;
    impl<E, F, G> std::fmt::Display for MyError<E, F, G>
    where
    E: std::fmt::Debug + std::fmt::Display,
    G: std::fmt::Octal;

1.0.28

  • Make ? work with error types that hold an optional source (#147)

1.0.27

  • Support forwarding backtrace method to source's backtrace method (#137, #146, thanks @​astraw)

1.0.26

1.0.25

  • Support error(transparent) on errors containing a non-'static inner error (#113)

1.0.24

... (truncated)

Commits
  • cbe8212 Release 1.0.31
  • 2a29fda Add a miri test job in CI
  • 244edc8 Update workflows to actions/checkout@v3
  • dd9206c Remove clippy deny attributes from test suite
  • 625d349 Disable ui test on miri
  • 21c2690 Ignore wrong_self_convention clippy lint
  • 91333fa Include global rustflags in rustflags override
  • d2e2ad1 Detect warnings in CI
  • 320d70f Merge pull request #164 from dtolnay/frombacktrace
  • c4d7c2b Fix miscounting fields when from and backtrace are same field
  • 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 [thiserror](https://github.com/dtolnay/thiserror) from 1.0.20 to 1.0.31.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](dtolnay/thiserror@1.0.20...1.0.31)

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

Signed-off-by: dependabot[bot] <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants