diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2024-02-10 13:54:28 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2024-02-10 18:14:02 +1100 |
| commit | 7b73e4fd44c86405307afa5f1a03317bc560f746 (patch) | |
| tree | 9c205b427e1cac811df59c66b06317530297b548 /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | b5c46dc5426038a49c95398bce30eeb20ec421e2 (diff) | |
| download | rust-7b73e4fd44c86405307afa5f1a03317bc560f746.tar.gz rust-7b73e4fd44c86405307afa5f1a03317bc560f746.zip | |
Allow restricted trait impls in macros with `min_specialization`
Implementing traits marked with `#[rustc_specialization_trait]` normally requires (min-)specialization to be enabled for the enclosing crate. With this change, that permission can also be granted by an `allow_internal_unstable` attribute on the macro that generates the impl.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
