Fix elided_named_lifetimes
in code
This commit is contained in:
parent
f167efad2f
commit
53ce92770d
14 changed files with 18 additions and 15 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue