diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2022-05-23 17:20:48 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2022-08-03 18:32:21 +0200 |
| commit | 39bc74e8b80a08fcf041622f87b0b4b52a1c0ffe (patch) | |
| tree | 4d44182cbf36bef4f2824e3bdf5e36fb5777ecdc /compiler/rustc_middle/src/query | |
| parent | 04f72f95384d97f4c4e7a59e60cb85ec581ebe06 (diff) | |
| download | rust-39bc74e8b80a08fcf041622f87b0b4b52a1c0ffe.tar.gz rust-39bc74e8b80a08fcf041622f87b0b4b52a1c0ffe.zip | |
Make object_lifetime_defaults a cross-crate query.
Diffstat (limited to 'compiler/rustc_middle/src/query')
| -rw-r--r-- | compiler/rustc_middle/src/query/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs index d8483e7e409..34639c0b0d0 100644 --- a/compiler/rustc_middle/src/query/mod.rs +++ b/compiler/rustc_middle/src/query/mod.rs @@ -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) |
