about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-10-31 01:56:40 +0000
committerbors <bors@rust-lang.org>2021-10-31 01:56:40 +0000
commit0a09858b05bb0d92e87077c76fcb0648d32d44db (patch)
treec8f4eb898f13bdd5de7afc4fd9059ab69d70da97 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent46ce6a77c2335279e4da149efc6433468a2edd23 (diff)
parent90ea93bf1aff8a4239d50813a8537bb65e06fbf9 (diff)
downloadrust-0a09858b05bb0d92e87077c76fcb0648d32d44db.tar.gz
rust-0a09858b05bb0d92e87077c76fcb0648d32d44db.zip
Auto merge of #90306 - kornelski:slicecloneasset, r=joshtriplett
track_caller for slice length assertions

`clone_from_slice` was missing `#[track_caller]`, and its assert did not report a useful location.

These are small generic methods, so hopefully track_caller gets inlined into nothingness, but it may be worth running a benchmark on this.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions