Convert adt_sized_constraint to early-binder, use list
This commit is contained in:
parent
abd3637e42
commit
8696fa71b3
5 changed files with 12 additions and 9 deletions
|
@ -706,7 +706,7 @@ rustc_queries! {
|
|||
separate_provide_extern
|
||||
}
|
||||
|
||||
query adt_sized_constraint(key: DefId) -> &'tcx [Ty<'tcx>] {
|
||||
query adt_sized_constraint(key: DefId) -> ty::EarlyBinder<&'tcx ty::List<Ty<'tcx>>> {
|
||||
desc { |tcx| "computing `Sized` constraints for `{}`", tcx.def_path_str(key) }
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue