std uses a lot of unstable library features. While core will most likely always have to use language features, we can strive for std to eventually be free of both unstable language and unstable library features.
Some of these we'll need to stabilize, but some others we might be able to simply remove with some small changes to the code.
std
uses a lot of unstable library features. Whilecore
will most likely always have to use language features, we can strive forstd
to eventually be free of both unstable language and unstable library features.Some of these we'll need to stabilize, but some others we might be able to simply remove with some small changes to the code.
(See also https://github.com/rust-lang/rust/issues/94970 for the language features.)
These are the library features we currently use in
std
:trait Error
to core: