std::error::Error
docs don't mention e.downcast()
(only downcast_{ref,mut}
)
#103170
Labels
A-error-handling
Area: Error handling
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I didn't notice an issue on file for this already, feel free to dupe against it if one exists.
In #99917 we landed support for error in core, and sadly one of the casualties was the docs got somewhat worse. Concretely,
Box<dyn Error + stuff>::downcast()
is no longer shown on the docs page for Error, which is a bit of a bummer, since these methods do exist: https://doc.rust-lang.org/nightly/src/alloc/boxed.rs.html#2127The text was updated successfully, but these errors were encountered: