diff options
| author | Amanieu d'Antras <amanieu@gmail.com> | 2023-03-22 23:43:20 +0000 | 
|---|---|---|
| committer | Amanieu d'Antras <amanieu@gmail.com> | 2023-04-16 08:35:50 -0700 | 
| commit | abc0660118cc95f47445fd33502a11dd448f5968 (patch) | |
| tree | e512943318f4d7b9cd82070fa66209b4fe10e7cf /compiler/rustc_feature/src | |
| parent | c9a6e41026d7aa27d897fb83e995447719753076 (diff) | |
| download | rust-abc0660118cc95f47445fd33502a11dd448f5968.tar.gz rust-abc0660118cc95f47445fd33502a11dd448f5968.zip | |
Remove #[alloc_error_handler] from the compiler and library
Diffstat (limited to 'compiler/rustc_feature/src')
| -rw-r--r-- | compiler/rustc_feature/src/active.rs | 2 | ||||
| -rw-r--r-- | compiler/rustc_feature/src/removed.rs | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs index 48f5bd1cb50..594e6cca912 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -291,8 +291,6 @@ declare_features! ( (active, abi_x86_interrupt, "1.17.0", Some(40180), None), /// Allows additional const parameter types, such as `&'static str` or user defined types (incomplete, adt_const_params, "1.56.0", Some(95174), None), - /// Allows defining an `#[alloc_error_handler]`. - (active, alloc_error_handler, "1.29.0", Some(51540), None), /// Allows trait methods with arbitrary self types. (active, arbitrary_self_types, "1.23.0", Some(44874), None), /// Allows using `const` operands in inline assembly. diff --git a/compiler/rustc_feature/src/removed.rs b/compiler/rustc_feature/src/removed.rs index 48d9fbfa6d2..568c289e2f7 100644 --- a/compiler/rustc_feature/src/removed.rs +++ b/compiler/rustc_feature/src/removed.rs @@ -47,6 +47,8 @@ declare_features! ( (removed, advanced_slice_patterns, "1.0.0", Some(62254), None, Some("merged into `#![feature(slice_patterns)]`")), + /// Allows defining an `#[alloc_error_handler]`. + (removed, alloc_error_handler, "CURRENT_RUSTC_VERSION", Some(51540), None, Some("now handled by panic handler")), (removed, allocator, "1.0.0", None, None, None), /// Allows a test to fail without failing the whole suite. (removed, allow_fail, "1.19.0", Some(46488), None, Some("removed due to no clear use cases")), | 
