about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm/diagnostic.rs
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-02-05 19:09:38 +0800
committerGitHub <noreply@github.com>2025-02-05 19:09:38 +0800
commitfd4623bdcc9fb853ab432b70e319d6e6409a3976 (patch)
treebaa1d7e283de1f29bb2849db6ee299f9bf07a2cf /compiler/rustc_codegen_llvm/src/llvm/diagnostic.rs
parentf30ce21602ce044f4d79c36cbc91352530377303 (diff)
parent836a989820aa82a7bb35c9fba670ab733406a84f (diff)
downloadrust-fd4623bdcc9fb853ab432b70e319d6e6409a3976.tar.gz
rust-fd4623bdcc9fb853ab432b70e319d6e6409a3976.zip
Rollup merge of #136555 - cramertj:split_off, r=dtolnay
Rename `slice::take...` methods to `split_off...`

This rename was discussed and recommended in a recent t-libs meeting.

cc https://github.com/rust-lang/rust/issues/62280

There's an additional commit here which modifies internals of unstable `OneSidedRange` APIs in order to implement `split_off` methods in a panic-free way (remove `unreachable!()`) as recommended in https://github.com/rust-lang/rust/pull/88502/files#r760177240. I can split this out into a separate PR if needed.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/diagnostic.rs')
0 files changed, 0 insertions, 0 deletions