about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorEugene Shamis <eugene.shamis@amd.com>2024-11-01 15:33:07 -0400
committerEugene Shamis <eugene.shamis@amd.com>2024-11-04 12:36:24 -0500
commit02a1ab807191891e888c19b4b8b54de33dba081b (patch)
tree86688c18332a50d6f994fefdf47daeec061205aa /compiler/rustc_codegen_llvm/src
parent432972cae64d736b892e7a4c8b4fe7fe0e888904 (diff)
downloadrust-02a1ab807191891e888c19b4b8b54de33dba081b.tar.gz
rust-02a1ab807191891e888c19b4b8b54de33dba081b.zip
Replace checked slice indexing by unchecked to support panic-free code
Fixes #126425

Replace the potentially panicking `[]` indexing with `get_unchecked()`
to prevent linking with panic-related code.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions