about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-10-27 17:04:12 +0000
committerbors <bors@rust-lang.org>2024-10-27 17:04:12 +0000
commit81d6652e741f091f4ee0b7a660120d204e0417b8 (patch)
treed274592e4f3ce2a5c6c11285209c7d29cd81d7d9 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent5f5c243ca020e45cb6ee48a1f635a929eb611fd2 (diff)
parent6cb84feef7708ae11aad4f08892c09467d027041 (diff)
downloadrust-81d6652e741f091f4ee0b7a660120d204e0417b8.tar.gz
rust-81d6652e741f091f4ee0b7a660120d204e0417b8.zip
Auto merge of #131284 - dingxiangfei2009:rename-smart-ptr-to-coerce-referent, r=compiler-errors
Rename macro `SmartPointer` to `CoercePointee`

As per resolution #129104 we will rename the macro to better reflect the technical specification of the feature and clarify the communication.

- `SmartPointer` is renamed to `CoerceReferent`
- `#[pointee]` attribute is renamed to `#[referent]`
- `#![feature(derive_smart_pointer)]` gate is renamed to `#![feature(derive_coerce_referent)]`.
- Any mention of `SmartPointer` in the file names are renamed accordingly.

r? `@compiler-errors`

cc `@nikomatsakis` `@Darksonn`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions