mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Remove deprecated description function of TryReserveError
This commit is contained in:
parent
b900de0f77
commit
88f8b88160
@ -553,11 +553,7 @@ impl Error for char::ParseCharError {
|
||||
}
|
||||
|
||||
#[unstable(feature = "try_reserve", reason = "new API", issue = "48043")]
|
||||
impl Error for alloc::collections::TryReserveError {
|
||||
fn description(&self) -> &str {
|
||||
"memory allocation failed"
|
||||
}
|
||||
}
|
||||
impl Error for alloc::collections::TryReserveError {}
|
||||
|
||||
// Copied from `any.rs`.
|
||||
impl dyn Error + 'static {
|
||||
|
Loading…
Reference in New Issue
Block a user