rust/library/alloc
bors 060e47f74a Auto merge of #99917 - yaahc:error-in-core-move, r=thomcc
Move Error trait into core

This PR moves the error trait from the standard library into a new unstable `error` module within the core library. The goal of this PR is to help unify error reporting across the std and no_std ecosystems, as well as open the door to integrating the error trait into the panic reporting system when reporting panics whose source is an errors (such as via `expect`).

This PR is a rewrite of https://github.com/rust-lang/rust/pull/90328 using new compiler features that have been added to support error in core.
2022-08-23 19:48:55 +00:00
..
benches Optimized vec::IntoIter::next_chunk impl 2022-07-26 20:31:43 +02:00
src Auto merge of #99917 - yaahc:error-in-core-move, r=thomcc 2022-08-23 19:48:55 +00:00
tests Rollup merge of #100820 - WaffleLapkin:use_ptr_is_aligned_methods, r=scottmcm 2022-08-22 20:34:15 +05:30
Cargo.toml Switch all libraries to the 2021 edition 2021-12-23 19:03:47 +08:00