Stuff a TyCtxt into the Resolver
This commit is contained in:
parent
9fb91b8742
commit
4953d70e2f
5 changed files with 32 additions and 41 deletions
|
@ -155,7 +155,7 @@ impl<'a, 'tcx> Resolver<'a, 'tcx> {
|
|||
if !candidates.is_empty() {
|
||||
show_candidates(
|
||||
&self.tcx.sess,
|
||||
&self.untracked.source_span.read(),
|
||||
&self.tcx.untracked().source_span.read(),
|
||||
&mut err,
|
||||
span,
|
||||
&candidates,
|
||||
|
@ -688,7 +688,7 @@ impl<'a, 'tcx> Resolver<'a, 'tcx> {
|
|||
}
|
||||
show_candidates(
|
||||
&self.tcx.sess,
|
||||
&self.untracked.source_span.read(),
|
||||
&self.tcx.untracked().source_span.read(),
|
||||
&mut err,
|
||||
Some(span),
|
||||
&import_suggestions,
|
||||
|
@ -1353,7 +1353,7 @@ impl<'a, 'tcx> Resolver<'a, 'tcx> {
|
|||
self.lookup_import_candidates(ident, Namespace::MacroNS, parent_scope, is_expected);
|
||||
show_candidates(
|
||||
&self.tcx.sess,
|
||||
&self.untracked.source_span.read(),
|
||||
&self.tcx.untracked().source_span.read(),
|
||||
err,
|
||||
None,
|
||||
&import_suggestions,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue