Fix elided_named_lifetimes in code

This commit is contained in:
Pavel Grigorenko 2024-08-23 01:12:57 +03:00
parent f167efad2f
commit 53ce92770d
14 changed files with 18 additions and 15 deletions

View file

@ -98,7 +98,7 @@ impl<'tcx> Queries<'tcx> {
self.parse.compute(|| passes::parse(&self.compiler.sess))
}
pub fn global_ctxt(&'tcx self) -> Result<QueryResult<'_, &'tcx GlobalCtxt<'tcx>>> {
pub fn global_ctxt(&'tcx self) -> Result<QueryResult<'tcx, &'tcx GlobalCtxt<'tcx>>> {
self.gcx.compute(|| {
let krate = self.parse()?.steal();