about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-07-29 17:46:44 +0200
committerGitHub <noreply@github.com>2024-07-29 17:46:44 +0200
commit5de94b67d4966a9f0fcf562122bdc5dacd0fc4ad (patch)
tree4f4ba003c77aafccb7af9038301454406cd8f54e /compiler/rustc_hir_analysis/src
parent28c174321adb4c00225c6a99955c01b4c41c1daa (diff)
parent97469cc4bf5d682ded196c60ee30d6a392b645aa (diff)
downloadrust-5de94b67d4966a9f0fcf562122bdc5dacd0fc4ad.tar.gz
rust-5de94b67d4966a9f0fcf562122bdc5dacd0fc4ad.zip
Rollup merge of #128337 - bvanjoi:issue-121613, r=compiler-errors
skip assoc type during infer source visitor

Fixes #121613

Due to the generic arguments being lost during normalization, the associated type cannot retrieve the correct generics information, so this PR follows this [comment](https://github.com/rust-lang/rust/blob/master/compiler/rustc_trait_selection/src/error_reporting/infer/need_type_info.rs#L937-L942) and skips `DefKind::AssocTy`

r? `@lcnr`
Diffstat (limited to 'compiler/rustc_hir_analysis/src')
0 files changed, 0 insertions, 0 deletions