Skip to content

Commit e461b8c

Browse files
committed
chore!: remove alias exports DefaultContext and EyreContext
`DefaultContext` and `EyreContext` exist as alias exports enabled by the `anyhow` feature. However, they are unused within `eyre`; neither are handlers of such names exposed by `anyhow`. This changeset removes both handler aliases. Closes [eyre-rs#135][135]. [135]: eyre-rs#135 BREAKING CHANGE: The alias exports are undocumented but nevertheless part of the crate's public API.
1 parent dded7de commit e461b8c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

eyre/src/lib.rs

-6
Original file line numberDiff line numberDiff line change
@@ -389,12 +389,6 @@ pub use eyre as format_err;
389389
pub use eyre as anyhow;
390390
use once_cell::sync::OnceCell;
391391
use ptr::OwnedPtr;
392-
#[cfg(feature = "anyhow")]
393-
#[doc(hidden)]
394-
pub use DefaultHandler as DefaultContext;
395-
#[cfg(feature = "anyhow")]
396-
#[doc(hidden)]
397-
pub use EyreHandler as EyreContext;
398392
#[doc(hidden)]
399393
pub use Report as ErrReport;
400394
/// Compatibility re-export of `Report` for interop with `anyhow`

0 commit comments

Comments
 (0)