diff options
| author | bors <bors@rust-lang.org> | 2022-12-16 21:08:45 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-12-16 21:08:45 +0000 |
| commit | bbb9cfbbc56f0116541b8c3a0f829a60bf7605e0 (patch) | |
| tree | 8dd2a45dae2f762a6c46374996ad6cc62838a86b /compiler/rustc_error_messages | |
| parent | 9c07efe84f28a44f3044237696acc295aa407ee5 (diff) | |
| parent | e66220f747e4823ca4fc771cc1c46f3fd2f6bc81 (diff) | |
| download | rust-bbb9cfbbc56f0116541b8c3a0f829a60bf7605e0.tar.gz rust-bbb9cfbbc56f0116541b8c3a0f829a60bf7605e0.zip | |
Auto merge of #102318 - Amanieu:default_alloc_error_handler, r=oli-obk
Stabilize default_alloc_error_handler Tracking issue: #66741 This turns `feature(default_alloc_error_handler)` on by default, which causes the compiler to automatically generate a default OOM handler which panics if `#[alloc_error_handler]` is not provided. The FCP completed over 2 years ago but the stabilization was blocked due to an issue with unwinding. This was fixed by #88098 so stabilization can be unblocked. Closes #66741
Diffstat (limited to 'compiler/rustc_error_messages')
| -rw-r--r-- | compiler/rustc_error_messages/locales/en-US/metadata.ftl | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_error_messages/locales/en-US/metadata.ftl b/compiler/rustc_error_messages/locales/en-US/metadata.ftl index d1e1fd54db9..b3ca540417d 100644 --- a/compiler/rustc_error_messages/locales/en-US/metadata.ftl +++ b/compiler/rustc_error_messages/locales/en-US/metadata.ftl @@ -166,12 +166,6 @@ metadata_conflicting_alloc_error_handler = metadata_global_alloc_required = no global memory allocator found but one is required; link to std or add `#[global_allocator]` to a static item that implements the GlobalAlloc trait -metadata_alloc_func_required = - `#[alloc_error_handler]` function required, but not found - -metadata_missing_alloc_error_handler = - use `#![feature(default_alloc_error_handler)]` for a default error handler - metadata_no_transitive_needs_dep = the crate `{$crate_name}` cannot depend on a crate that needs {$needs_crate_name}, but it depends on `{$deps_crate_name}` |
