about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2025-06-29 11:08:12 +0200
committerSamuel Tardieu <sam@rfc1149.net>2025-06-29 16:36:50 +0200
commitad7de948a871d7f11bcb62b4c301506de620085d (patch)
treeb76aefecb0915b4701c042f9eb2e2a7daebaf1d9 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent428208eb9b61f44e5bbab70feea42a8d55994230 (diff)
downloadrust-ad7de948a871d7f11bcb62b4c301506de620085d.tar.gz
rust-ad7de948a871d7f11bcb62b4c301506de620085d.zip
Consider deref'ed argument as non-temporary
If there are more than one dereference (there is one corresponding
matched with a borrow in any case), consider that the argument might
point to a place expression, which is the safest choice.

Also, use an appropriate number of dereferences in suggestions involving
arguments using themselves multiple dereferences.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions