about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-06-20 14:56:34 +0200
committerGitHub <noreply@github.com>2022-06-20 14:56:34 +0200
commit99620ad7215d58ada72eabb2d7467fd685ac1090 (patch)
treed93a6ea7c7794d986743dddc276bcbd3fdd705a5 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parentfd9ca0c25ec90f6ed156e6f0e950763ca5171f8a (diff)
parent1890372c9e64d1fb5ee45bbb2d785510a6011e70 (diff)
downloadrust-99620ad7215d58ada72eabb2d7467fd685ac1090.tar.gz
rust-99620ad7215d58ada72eabb2d7467fd685ac1090.zip
Rollup merge of #94855 - m-ou-se:advance-slice-panic-docs, r=kennytm
Panic when advance_slices()'ing too far and update docs.

This updates advance_slices() to panic when advancing too far, like advance() already does. And updates the docs to say so.

See https://github.com/rust-lang/rust/issues/62726#issuecomment-1065253213
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions