about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/deriving/smart_ptr.rs
AgeCommit message (Collapse)AuthorLines
2024-10-24s/SmartPointer/CoerceReferent/gDing Xiang Fei-462/+0
move derive_smart_pointer into removed set
2024-10-14Move trait bound modifiers into ast::PolyTraitRefMichael Goulet-5/+5
2024-10-12yeet some clonesMatthias Krüger-1/+1
2024-10-06Check that `#[pointee]` is applied only to generic argumentsBrezak-0/+64
2024-09-28remove couple redundant clonesMatthias Krüger-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-08-28Rollup merge of #129467 - dingxiangfei2009:smart-pointer-relax-pointee, ↵Jubilee-28/+47
r=compiler-errors derive(SmartPointer): assume pointee from the single generic and better error messages Fix #129465 Actually RFC says that `#[pointee]` can be inferred when there is no ambiguity, or there is only one generic type parameter so to say. cc ```@Darksonn``` r? ```@compiler-errors```
2024-08-29derive(SmartPointer): assume pointee from the single generic and better ↵Ding Xiang Fei-28/+47
error messages
2024-08-16Add `warn(unreachable_pub)` to `rustc_builtin_macros`.Nicholas Nethercote-1/+1
2024-08-01reject pointee without ?SizedDing Xiang Fei-27/+23
2024-07-30derive(SmartPointer): rewrite bounds in where and generic boundsDing Xiang Fei-17/+227
2024-07-04reject SmartPointer constructions not serving the purposeDing Xiang Fei-3/+36
2024-06-24SmartPointer derive-macroXiangfei Ding-0/+140
Co-authored-by: Wedson Almeida Filho <walmeida@microsoft.com>