about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorblyxyas <blyxyas@gmail.com>2025-05-28 01:23:27 +0200
committerblyxyas <blyxyas@gmail.com>2025-05-28 18:00:16 +0200
commit7e590de4359cf74d31b017d6e6c6178f8acd3dd4 (patch)
treefa04e5c95727351ad40993f471f2b1e6d6925958 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent32a3744efc15f5bb3024cefbb2641fe238f319f2 (diff)
downloadrust-7e590de4359cf74d31b017d6e6c6178f8acd3dd4.tar.gz
rust-7e590de4359cf74d31b017d6e6c6178f8acd3dd4.zip
Optimize `unit_return_expecting_ord`
This lint was previously written very clumsily, not
shortcircuiting and doing a lot of unnecessary work.

Now it makes sure to do the cheaper functions earlier
and in general, just be smarter.
(I specifically focused on minimizing binder instantiation)

Also, avoid allocating unnecessarily
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions