about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2023-10-20 22:11:01 +0000
committerEsteban Küber <esteban@kuber.com.ar>2023-10-20 22:11:01 +0000
commit939a224ce39fbc422e14d8255616fc587b845b8e (patch)
tree9e05136f56f63b124c5965aab4f777a32ff6c0c1 /compiler/rustc_interface/src/errors.rs
parentcc705b801236d064260bb67b3a0a25e4747fa7ec (diff)
downloadrust-939a224ce39fbc422e14d8255616fc587b845b8e.tar.gz
rust-939a224ce39fbc422e14d8255616fc587b845b8e.zip
Point at assoc fn definition on type param divergence
When the number of type parameters in the associated function of an impl
and its trait differ, we now *always* point at the trait one, even if it
comes from a foreign crate. When it is local, we point at the specific
params, when it is foreign, we point at the whole associated item.

Fix #69944.
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions