From c5ee8b5dfbbb9da99636770543335bd59963b000 Mon Sep 17 00:00:00 2001 From: Frederick Zhang Date: Fri, 2 Feb 2018 16:24:32 +1100 Subject: [PATCH] set CodeSuggestion approximate to false. fixes #2429 --- clippy_lints/src/utils/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/clippy_lints/src/utils/mod.rs b/clippy_lints/src/utils/mod.rs index b7f1e7b24..7cb3e08a1 100644 --- a/clippy_lints/src/utils/mod.rs +++ b/clippy_lints/src/utils/mod.rs @@ -648,6 +648,7 @@ where ], msg: help_msg, show_code_when_inline: true, + approximate: false, }; db.suggestions.push(sugg); }