Make object_lifetime_defaults a cross-crate query.
This commit is contained in:
parent
04f72f9538
commit
39bc74e8b8
2 changed files with 20 additions and 42 deletions
|
@ -1579,7 +1579,7 @@ rustc_queries! {
|
|||
/// for each parameter if a trait object were to be passed for that parameter.
|
||||
/// For example, for `struct Foo<'a, T, U>`, this would be `['static, 'static]`.
|
||||
/// For `struct Foo<'a, T: 'a, U>`, this would instead be `['a, 'static]`.
|
||||
query object_lifetime_defaults(_: LocalDefId) -> Option<&'tcx [ObjectLifetimeDefault]> {
|
||||
query object_lifetime_defaults(_: DefId) -> Option<&'tcx [ObjectLifetimeDefault]> {
|
||||
desc { "looking up lifetime defaults for a region on an item" }
|
||||
}
|
||||
query late_bound_vars_map(_: LocalDefId)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue