Rollup merge of #93892 - compiler-errors:issue-92917, r=jackh726,nikomatsakis
Only mark projection as ambiguous if GAT substs are constrained A slightly more targeted version of #92917, where we only give up with ambiguity if we infer something about the GATs substs when probing for a projection candidate. fixes #93874 also note (but like the previous PR, does not fix) #91762 r? `@jackh726` cc `@nikomatsakis` who reviewed #92917
This commit is contained in:
commit
1e2f63de0a
6 changed files with 100 additions and 43 deletions
|
@ -263,7 +263,7 @@ impl<'tcx> TypeVariableTable<'_, 'tcx> {
|
|||
let index = self.values().push(TypeVariableData { origin });
|
||||
assert_eq!(eq_key.vid.as_u32(), index as u32);
|
||||
|
||||
debug!("new_var(index={:?}, universe={:?}, origin={:?}", eq_key.vid, universe, origin,);
|
||||
debug!("new_var(index={:?}, universe={:?}, origin={:?})", eq_key.vid, universe, origin);
|
||||
|
||||
eq_key.vid
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue