Skip to content

Commit 83cc620

Browse files
committed
Flip a boolean that was used wrongly (has no effect though)
1 parent ca92d90 commit 83cc620

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

compiler/rustc_hir_typeck/src/method/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
128128
method_name.span,
129129
probe::Mode::MethodCall,
130130
method_name,
131-
IsSuggestion(false),
131+
IsSuggestion(true),
132132
self_ty,
133133
call_expr.hir_id,
134134
ProbeScope::TraitsInScope,

0 commit comments

Comments
 (0)