about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/counters.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-05-24 09:23:40 +0200
committerGitHub <noreply@github.com>2025-05-24 09:23:40 +0200
commit3476b4951f9c2327a647afe52891701823162dee (patch)
tree0dfa421a3c8090ffa71594275ea65f7feb310892 /compiler/rustc_mir_transform/src/coverage/counters.rs
parent293977aeb831d0cb36d095ecec953b30378da440 (diff)
parentd0413436d5217de732d37cb3a2e9e816eee7ee25 (diff)
downloadrust-3476b4951f9c2327a647afe52891701823162dee.tar.gz
rust-3476b4951f9c2327a647afe52891701823162dee.zip
Rollup merge of #141438 - compiler-errors:dyn-compatible-call, r=lcnr
Do not try to confirm non-dyn compatible method

See the comment I left in `compiler/rustc_hir_typeck/src/method/confirm.rs`.

If we have a receiver that does not deref to the `dyn Trait` we're assembling the method from, then we used to ICE, but that's something that is possible to encounter with arbitrary self types.

r? oli-obk
Fixes https://github.com/rust-lang/rust/issues/141419
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/counters.rs')
0 files changed, 0 insertions, 0 deletions