diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2023-10-20 22:11:01 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2023-10-20 22:11:01 +0000 |
| commit | 939a224ce39fbc422e14d8255616fc587b845b8e (patch) | |
| tree | 9e05136f56f63b124c5965aab4f777a32ff6c0c1 /compiler/rustc_interface/src/errors.rs | |
| parent | cc705b801236d064260bb67b3a0a25e4747fa7ec (diff) | |
| download | rust-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
