about summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-07-31 03:00:20 +0000
committerbors <bors@rust-lang.org>2021-07-31 03:00:20 +0000
commitb289bb7fdfcb6f54d825927ab9b5722cabc2a140 (patch)
tree9d38fa33b1fce8154a2643c769fd1f9f116952cd /compiler/rustc_query_impl/src
parent199d1aebe472585e1066334d5e1f740f02eba661 (diff)
parent624df182ea20fa64509b21998a8a758b7bd3dd58 (diff)
downloadrust-b289bb7fdfcb6f54d825927ab9b5722cabc2a140.tar.gz
rust-b289bb7fdfcb6f54d825927ab9b5722cabc2a140.zip
Auto merge of #87488 - kornelski:track-remove, r=dtolnay
Track caller of Vec::remove()

`vec.remove(invalid)` doesn't print a helpful source position:

> thread 'main' panicked at 'removal index (is 99) should be < len (is 1)', **library/alloc/src/vec/mod.rs:1379:13**
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions