Skip to content

Commit 3ceaf80

Browse files
committed
Add FIXME in named_associated_type_shorthand_candidates
1 parent 33cc860 commit 3ceaf80

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/hir-ty/src/lower_nextsolver.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1782,6 +1782,9 @@ fn named_associated_type_shorthand_candidates<'db, R>(
17821782
TypeNs::SelfType(impl_id) => {
17831783
let trait_ref = db.impl_trait_ns(impl_id)?;
17841784

1785+
// FIXME(next-solver): same method in `lower` checks for impl or not
1786+
// Is that needed here?
1787+
17851788
// we're _in_ the impl -- the binders get added back later. Correct,
17861789
// but it would be nice to make this more explicit
17871790
search(trait_ref.skip_binder())

0 commit comments

Comments
 (0)