diff options
| author | xiongmao86 <xiongmao86dev@sina.com> | 2020-04-18 18:28:29 +0800 |
|---|---|---|
| committer | xiongmao86 <xiongmao86dev@sina.com> | 2020-04-18 18:28:29 +0800 |
| commit | cf4e35339b1d5a613588b45c53d0e88da5363c65 (patch) | |
| tree | 830fb97e01fb0a1e245aec7afd20494134881136 /clippy_lints/src/cognitive_complexity.rs | |
| parent | d03d3bd95b06b82246a51aaa8e424a67eb724037 (diff) | |
Add an Option<Span> argument to span_lint_and_help.
Diffstat (limited to 'clippy_lints/src/cognitive_complexity.rs')
| -rw-r--r-- | clippy_lints/src/cognitive_complexity.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clippy_lints/src/cognitive_complexity.rs b/clippy_lints/src/cognitive_complexity.rs index 93a394b79e5..e842388ac98 100644 --- a/clippy_lints/src/cognitive_complexity.rs +++ b/clippy_lints/src/cognitive_complexity.rs @@ -105,6 +105,7 @@ impl CognitiveComplexity { rust_cc, self.limit.limit() ), + None, "you could split it up into multiple smaller functions", ); } |
