only mark projection as ambiguous if GAT substs are constrained
This commit is contained in:
parent
e646f3d2a9
commit
784c7a6cad
6 changed files with 88 additions and 43 deletions
|
@ -259,7 +259,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