1
Fork 0

Intern LocalDefId list from opaque query

This commit is contained in:
Michael Goulet 2023-10-18 19:28:46 +00:00
parent 64368d0279
commit 18b7d9eb8c
3 changed files with 16 additions and 3 deletions

View file

@ -339,7 +339,7 @@ rustc_queries! {
query opaque_types_defined_by(
key: LocalDefId
) -> &'tcx [LocalDefId] {
) -> &'tcx ty::List<LocalDefId> {
desc {
|tcx| "computing the opaque types defined by `{}`",
tcx.def_path_str(key.to_def_id())