about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/counters.rs
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2024-05-26 15:28:27 -0700
committerGitHub <noreply@github.com>2024-05-26 15:28:27 -0700
commit09e75921f349d7155694f105e2f86b04087063c7 (patch)
treef9c5a2e8e4071956832cff5ef74284e1e457a5be /compiler/rustc_mir_transform/src/coverage/counters.rs
parent5860d43af38fe1160835d72874fd35e0186be10e (diff)
parent4bc41b91d7e299b6d0651a8ba48122304beb6820 (diff)
downloadrust-09e75921f349d7155694f105e2f86b04087063c7.tar.gz
rust-09e75921f349d7155694f105e2f86b04087063c7.zip
Rollup merge of #125466 - compiler-errors:dont-probe-for-ambig-in-sugg, r=jieyouxu
Don't continue probing for method if in suggestion and autoderef hits ambiguity

The title is somewhat self-explanatory. When we hit ambiguity in method autoderef steps, we previously would continue to probe for methods if we were giving a suggestion. This seems useless, and causes an ICE when we are not able to unify the receiver later on in confirmation.

Fixes #125432
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/counters.rs')
0 files changed, 0 insertions, 0 deletions