diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-02-10 13:12:31 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-10 13:12:31 +0100 |
| commit | 55913368c53b2846bd96fd017abc34a0af07ccc8 (patch) | |
| tree | 5c3cfc67941b0bf40c4ad3dec50f529e473ff23e /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | ed3b049a8b234180f2e156dac358af4effb35f09 (diff) | |
| parent | a2479a4ae75884953eb9eaad083105174549c2ed (diff) | |
| download | rust-55913368c53b2846bd96fd017abc34a0af07ccc8.tar.gz rust-55913368c53b2846bd96fd017abc34a0af07ccc8.zip | |
Rollup merge of #120870 - Zalathar:allow-min-spec, r=oli-obk
Allow restricted trait impls under `#[allow_internal_unstable(min_specialization)]` This is a follow-up to #119963 and a companion to #120866, though it can land independently from the latter. --- We have several compiler crates that only enable `#[feature(min_specialization)]` because it is required by their expansions of `newtype_index!`, in order to implement traits marked with `#[rustc_specialization_trait]`. This PR allows those traits to be implemented internally by macros with `#[allow_internal_unstable(min_specialization)]`, without needing specialization to be enabled in the enclosing crate.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
