Improve module selector constraint solver diagnostics

This commit is contained in:
Becca Royal-Gordon
2025-10-17 16:06:53 -07:00
parent d1e391094d
commit 60cc537f70
7 changed files with 147 additions and 19 deletions

View File

@@ -2059,6 +2059,9 @@ struct MemberLookupResult {
/// 'accesses' attributes of the init accessor and therefore canno
/// t be referenced in its body.
UR_UnavailableWithinInitAccessor,
/// The module selector in the `DeclNameRef` does not match this candidate.
UR_WrongModule
};
/// This is a list of considered (but rejected) candidates, along with a