about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-08-23 19:48:55 +0000
committerbors <bors@rust-lang.org>2022-08-23 19:48:55 +0000
commit060e47f74a91b28c3db28d80a6a9d6841ca51026 (patch)
tree79655bdb6dd437f2773196bcfdda18b9f6bc2896 /compiler/rustc_hir_analysis/src
parenta1bea1551b8312b6abfbbf7d49bafac2e6ce8ee4 (diff)
parentbf7611d55ee6e24647aefc4d1c82b1dba0164536 (diff)
downloadrust-060e47f74a91b28c3db28d80a6a9d6841ca51026.tar.gz
rust-060e47f74a91b28c3db28d80a6a9d6841ca51026.zip
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.
Diffstat (limited to 'compiler/rustc_hir_analysis/src')
0 files changed, 0 insertions, 0 deletions