about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-10-13 13:34:48 +0000
committerbors <bors@rust-lang.org>2024-10-13 13:34:48 +0000
commit236751d09334fcaccdc739bd8d3595bb9a7e2eb1 (patch)
treed9b93b5778f1b5351683c8d5f6fe00502bf6226f /compiler/rustc_codegen_llvm/src
parent04849bd7d9b6006eb0d34b5d242d2b0467bca7bd (diff)
parentef1db3f502e081535ee8144deaf0f7d0aaf08f75 (diff)
downloadrust-236751d09334fcaccdc739bd8d3595bb9a7e2eb1.tar.gz
rust-236751d09334fcaccdc739bd8d3595bb9a7e2eb1.zip
Auto merge of #13540 - GnomedDev:create-dir-single-arg, r=y21
Check MethodCall/Call arg count earlier or at all

This gets rid of a bunch of possible panic spots, as well as bailing out earlier for optimisation reasons.

I started doing this because I saw that a significant amount of time was being spent in the `create_dir` restriction lint when running clippy with `perf`, but this also helps with robustness.

changelog: none
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions