This repository was archived by the owner on Sep 12, 2024. It is now read-only.
This repository was archived by the owner on Sep 12, 2024. It is now read-only.
Make &dyn Error and Box<dyn Error> implement Error #16
Open
Description
This is a tracking issue to pursue the following trait impls:
impl<E: ?Sized + Error> Error for &'_ E;
impl<E: ?Sized + Error> Error for Box<E>;
Each of these impls comes with caveats that make them non-trivial to just introduce. We should try explore these caveats to see what it would take to make them possible.