]> git.lizzy.rs Git - rust.git/commitdiff
Flip a boolean that was used wrongly (has no effect though)
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>
Wed, 9 Nov 2022 14:37:33 +0000 (14:37 +0000)
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>
Tue, 15 Nov 2022 11:05:59 +0000 (11:05 +0000)
compiler/rustc_hir_typeck/src/method/mod.rs

index 4a8b774936543698c07c7f9bba395e96792b2a0b..e7e0a3a23a279e566a8c408ec23fd0fbc35d3cd9 100644 (file)
@@ -128,7 +128,7 @@ pub(crate) fn suggest_method_call(
                 method_name.span,
                 probe::Mode::MethodCall,
                 method_name,
-                IsSuggestion(false),
+                IsSuggestion(true),
                 self_ty,
                 call_expr.hir_id,
                 ProbeScope::TraitsInScope,