Skip to content

Commit

Permalink
debug issue
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyukang committed Oct 28, 2022
1 parent 8bf0470 commit 0a551c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
.tcx
.sess
.diagnostic()
.steal_diagnostic(seg1.ident.span, StashKey::CallInstanceMethod)
.steal_diagnostic(seg1.ident.span, StashKey::CallInstanceMethod)
&& let Some(&help) = diag.children.get(0) {
let local_def_span = help.span;
if self.suggest_instance_call(seg1, seg2, &local_def_span) {
Expand Down

0 comments on commit 0a551c3

Please sign in to comment.