clean up ADT sized constraint computation
This commit is contained in:
parent
0e7e1bfdbc
commit
8ad94111ad
8 changed files with 90 additions and 92 deletions
|
@ -703,8 +703,8 @@ rustc_queries! {
|
|||
separate_provide_extern
|
||||
}
|
||||
|
||||
query adt_sized_constraint(key: DefId) -> ty::EarlyBinder<&'tcx ty::List<Ty<'tcx>>> {
|
||||
desc { |tcx| "computing `Sized` constraints for `{}`", tcx.def_path_str(key) }
|
||||
query adt_sized_constraint(key: DefId) -> Option<ty::EarlyBinder<Ty<'tcx>>> {
|
||||
desc { |tcx| "computing `Sized` constraint for `{}`", tcx.def_path_str(key) }
|
||||
}
|
||||
|
||||
query adt_dtorck_constraint(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue