Skip to content

Commit 0a551c3

Browse files
committed
debug issue
1 parent 8bf0470 commit 0a551c3

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_hir_typeck/src/fn_ctxt

1 file changed

+1
-1
lines changed

compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
870870
.tcx
871871
.sess
872872
.diagnostic()
873-
.steal_diagnostic(seg1.ident.span, StashKey::CallInstanceMethod)
873+
.steal_diagnostic(seg1.ident.span, StashKey::CallInstanceMethod)
874874
&& let Some(&help) = diag.children.get(0) {
875875
let local_def_span = help.span;
876876
if self.suggest_instance_call(seg1, seg2, &local_def_span) {

0 commit comments

Comments
 (0)