Closed
Description
e.g. https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/struct.TyCtxt.html#method.hir_crate
This makes the docs really hard to read: you have to click on hir_crate
, open impl<'tcx> QueryConfig<TyCtxt<'tcx>> for hir_crate
, and know that Value
is what actually matters, not Stored
. This is super confusing and not documented anywhere. We should find a way to just put &'tcx Crate<'tcx>
directly in the return type instead.