diff options
| author | bors <bors@rust-lang.org> | 2022-02-24 10:02:26 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-02-24 10:02:26 +0000 |
| commit | 7ccfe2ff1d59666dc0188dfd5847304fec257565 (patch) | |
| tree | 48ab85a723d1398aa894f6fe89e88d01986b8f57 /compiler/rustc_middle/src/query | |
| parent | 1204400ab8da9830f6f77a5e40e7ad3ea459676a (diff) | |
| parent | 7afcf9fcd14af52e53e38ffe60b1eac9b3232b21 (diff) | |
| download | rust-7ccfe2ff1d59666dc0188dfd5847304fec257565.tar.gz rust-7ccfe2ff1d59666dc0188dfd5847304fec257565.zip | |
Auto merge of #94129 - cjgillot:rmeta-table, r=petrochenkov
Back more metadata using per-query tables r? `@ghost`
Diffstat (limited to 'compiler/rustc_middle/src/query')
| -rw-r--r-- | compiler/rustc_middle/src/query/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs index 069dac969c6..c299dacfc92 100644 --- a/compiler/rustc_middle/src/query/mod.rs +++ b/compiler/rustc_middle/src/query/mod.rs @@ -1016,12 +1016,12 @@ rustc_queries! { separate_provide_extern } - query lookup_stability(def_id: DefId) -> Option<&'tcx attr::Stability> { + query lookup_stability(def_id: DefId) -> Option<attr::Stability> { desc { |tcx| "looking up stability of `{}`", tcx.def_path_str(def_id) } separate_provide_extern } - query lookup_const_stability(def_id: DefId) -> Option<&'tcx attr::ConstStability> { + query lookup_const_stability(def_id: DefId) -> Option<attr::ConstStability> { desc { |tcx| "looking up const stability of `{}`", tcx.def_path_str(def_id) } separate_provide_extern } @@ -1636,7 +1636,7 @@ rustc_queries! { desc { |tcx| "names_imported_by_glob_use for `{}`", tcx.def_path_str(def_id.to_def_id()) } } - query stability_index(_: ()) -> stability::Index<'tcx> { + query stability_index(_: ()) -> stability::Index { storage(ArenaCacheSelector<'tcx>) eval_always desc { "calculating the stability index for the local crate" } |
