Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(deps): update rust crate thiserror to 1.0.32 #25

Merged
merged 1 commit into from
Aug 19, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 19, 2022

Mend Renovate

This PR contains the following updates:

Package Type Update Change
thiserror dependencies patch 1.0.23 -> 1.0.32

Release Notes

dtolnay/thiserror

v1.0.32

Compare Source

  • Add keywords to crates.io metadata

v1.0.31

Compare Source

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

v1.0.30

Compare Source

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

v1.0.29

Compare Source

  • 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;

v1.0.28

Compare Source

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

v1.0.27

Compare Source

v1.0.26

Compare Source

v1.0.25

Compare Source

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

v1.0.24

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the renovate label Aug 19, 2022
@codecov
Copy link

codecov bot commented Aug 19, 2022

Codecov Report

❗ No coverage uploaded for pull request base (main@4563832). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head 870e48a differs from pull request most recent head 1f4ca56. Consider uploading reports for the commit 1f4ca56 to get more accurate results

@@           Coverage Diff           @@
##             main      #25   +/-   ##
=======================================
  Coverage        ?   96.02%           
=======================================
  Files           ?        6           
  Lines           ?      503           
  Branches        ?        0           
=======================================
  Hits            ?      483           
  Misses          ?       20           
  Partials        ?        0           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@renovate renovate bot force-pushed the renovate/thiserror-1.x branch 3 times, most recently from 8347c06 to 870e48a Compare August 19, 2022 19:18
@renovate renovate bot force-pushed the renovate/thiserror-1.x branch from 870e48a to 1f4ca56 Compare August 19, 2022 19:21
@tasshi-me tasshi-me merged commit eac8cbf into main Aug 19, 2022
@tasshi-me tasshi-me deleted the renovate/thiserror-1.x branch August 19, 2022 19:23
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant