Skip to content

Conversation

bennetthardwick
Copy link
Contributor

Adds std::error::Error impls for Box<dyn Diagnostic + Send + Sync> (and other variants).

Fixes #272.

@@ -0,0 +1,69 @@
use std::sync::Arc;

use miette::{miette, Diagnostic, Report};
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like tests are failing because of this Report being unused.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, fixed!

@zkat zkat merged commit 2e3e5c9 into zkat:main Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

#[source] does not work on Box<dyn Error + Send + Sync>
2 participants