about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2022-07-07 11:09:07 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2022-07-11 14:07:33 +1000
commit96f09d73cd6ffc4a4e2719819e205b6e5a26718f (patch)
tree1038dd27fb5ebb4ab4cf5d61e2bd7dabec4b47f5 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent277bc9641d5585fcb2d94440efc6b1880a74fd64 (diff)
downloadrust-96f09d73cd6ffc4a4e2719819e205b6e5a26718f.tar.gz
rust-96f09d73cd6ffc4a4e2719819e205b6e5a26718f.zip
Remove unnecessary `&*` sigil pairs in derived code.
By producing `&T` expressions for fields instead of `T`. This matches
what the existing comments (e.g. on `FieldInfo`) claim is happening, and
it's also what most of the trait-specific code needs.

The exception is `PartialEq`, which needs `T` expressions for lots of
special case error messaging to work. So we now convert the `&T` back to
a `T` for `PartialEq`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions