about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/lib.rs
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2024-11-05 01:34:23 -0800
committerGitHub <noreply@github.com>2024-11-05 01:34:23 -0800
commit57f64c67e098b1e4211c7c5ba441a8a60f4f789d (patch)
tree47ef57e0f8d5b9856e6b6a63b61397c773c3c25e /compiler/rustc_codegen_llvm/src/lib.rs
parent1ee661741408ad7d4872bc668541fd4a4616b580 (diff)
parent65d8f1b8bfe79a3b88048ce24629456b007f8f4a (diff)
downloadrust-57f64c67e098b1e4211c7c5ba441a8a60f4f789d.tar.gz
rust-57f64c67e098b1e4211c7c5ba441a8a60f4f789d.zip
Rollup merge of #132473 - ZhekaS:core_fmt_radix_no_panic, r=joboet
[core/fmt] 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/lib.rs')
0 files changed, 0 insertions, 0 deletions