tor-error: Mark define_asref_dyn_std_error as non-experimental

(I see no problems with this macro.  In the worst case, we deprecate
it someday.)
This commit is contained in:
Nick Mathewson 2023-06-22 15:40:56 -04:00
parent 8ecb4107d4
commit 085c45ed18
1 changed files with 0 additions and 1 deletions

View File

@ -96,7 +96,6 @@ impl<E: StdError + Sized + 'static> ErrorReport for E {}
/// This trivial `AsRef` impl enables use of `tor_error::Report`.
// Rust don't do this automatically, sadly, even though
// it's basically `impl AsRef<dyn Trait> for T where T: Trait`.
#[cfg(feature = "experimental-api")] // TODO HS make non-experimental, or rework
#[macro_export]
macro_rules! define_asref_dyn_std_error { { $ty:ty } => {
// TODO: It would nice if this could be generated more automatically;