1
Fork 0

only mark projection as ambiguous if GAT substs are constrained

This commit is contained in:
Michael Goulet 2022-02-10 22:45:58 -08:00
parent e646f3d2a9
commit 784c7a6cad
6 changed files with 88 additions and 43 deletions

View file

@ -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
}