Delegation: support generics for delegation from free functions
This commit is contained in:
parent
80d8270d84
commit
f2f9aab380
24 changed files with 702 additions and 233 deletions
|
@ -1722,6 +1722,10 @@ rustc_queries! {
|
|||
desc { |tcx| "getting the native library for `{}`", tcx.def_path_str(def_id) }
|
||||
}
|
||||
|
||||
query inherit_sig_for_delegation_item(def_id: LocalDefId) -> &'tcx [Ty<'tcx>] {
|
||||
desc { "inheriting delegation signature" }
|
||||
}
|
||||
|
||||
/// Does lifetime resolution on items. Importantly, we can't resolve
|
||||
/// lifetimes directly on things like trait methods, because of trait params.
|
||||
/// See `rustc_resolve::late::lifetimes` for details.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue