diff options
Diffstat (limited to 'src/libstd/error.rs')
| -rw-r--r-- | src/libstd/error.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstd/error.rs b/src/libstd/error.rs index 3f6501bc7b4..2a370f19296 100644 --- a/src/libstd/error.rs +++ b/src/libstd/error.rs @@ -552,6 +552,9 @@ impl Error for char::ParseCharError { } } +#[unstable(feature = "try_reserve", reason = "new API", issue = "48043")] +impl Error for alloc::collections::TryReserveError {} + // Copied from `any.rs`. impl dyn Error + 'static { /// Returns `true` if the boxed type is the same as `T` |
