about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-02-03 14:22:42 +0000
committerbors <bors@rust-lang.org>2023-02-03 14:22:42 +0000
commit9545094994f1ab45cab5799d5b45980871a9e97b (patch)
treef20e2d08b8836fe5498948b0863680019083975c /compiler/rustc_codegen_llvm/src/errors.rs
parenta94b9fd0ace1336a3dd93f51f1c0db6ca0fd7f92 (diff)
parentd8651aae22d3b2251045647e7313fea37381362a (diff)
downloadrust-9545094994f1ab45cab5799d5b45980871a9e97b.tar.gz
rust-9545094994f1ab45cab5799d5b45980871a9e97b.zip
Auto merge of #107599 - clubby789:debug-less-ref, r=nnethercote
Don't generate unecessary `&&self.field` in deriving Debug

Since unsized fields may only be the last one in a struct, we only need to generate a double reference (`&&self.field`) for the  final one.

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