about summary refs log tree commit diff
path: root/src/test/ui/iterators/iter-count-overflow-debug.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-11-26 11:59:17 +0000
committerbors <bors@rust-lang.org>2020-11-26 11:59:17 +0000
commitaefcf1f3427a5e522a8c665d7e25529cf971bc93 (patch)
tree4e67189f67632d113fb4ec825d412b4e85e6bdd2 /src/test/ui/iterators/iter-count-overflow-debug.rs
parent0d9651648d3b741e81ba7042e49a07b78a441517 (diff)
parent0b64110b10c9ef5f971aab4b05975dee922a7bc3 (diff)
downloadrust-aefcf1f3427a5e522a8c665d7e25529cf971bc93.tar.gz
rust-aefcf1f3427a5e522a8c665d7e25529cf971bc93.zip
Auto merge of #79427 - Aaron1011:fix/const-array-index, r=oli-obk
Resolve inference variables before trying to remove overloaded indexing

Fixes #79152

This code was already set up to handle indexing an array. However, it
appears that we never end up with an inference variable for the slice
case, so the missing call to `resolve_vars_if_possible` had no effect
until now.
Diffstat (limited to 'src/test/ui/iterators/iter-count-overflow-debug.rs')
0 files changed, 0 insertions, 0 deletions