about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/concat_bytes.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-05-09 13:18:19 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2025-05-10 08:58:47 +1000
commit5ebcbfc1e132ad0d3584c23e5cf526698f0a44b3 (patch)
tree0985e454777cb3705b354548afe1dab3907239bd /compiler/rustc_builtin_macros/src/concat_bytes.rs
parentd22461c9b7ce9417a0ba8d8d4d415ed6f853cda8 (diff)
downloadrust-5ebcbfc1e132ad0d3584c23e5cf526698f0a44b3.tar.gz
rust-5ebcbfc1e132ad0d3584c23e5cf526698f0a44b3.zip
Remove `AstDeref`.
It's a "utility trait to reduce boilerplate" implemented for `P` and
`AstNodeWrapper`, but removing it gives a net reduction of twenty lines
of code. It's also simpler to just implement
`HasNodeId`/`HasAttrs`/`HasTokens` directly on types instead of via
`AstDeref`.

(I decided to make this change when doing some related refactoring and
the error messages involving `AstDeref` and `HasAttrs` were hard to
understand; removing it helped a lot.)
Diffstat (limited to 'compiler/rustc_builtin_macros/src/concat_bytes.rs')
0 files changed, 0 insertions, 0 deletions