Rename span_help_and_lint to span_lint_and_help

This commit is contained in:
Yuki Okushi
2020-01-27 10:56:22 +09:00
parent 4f65bec39a
commit f60f12f71f
32 changed files with 90 additions and 90 deletions

View File

@@ -9,7 +9,7 @@ use rustc_span::source_map::Span;
use rustc_span::BytePos;
use syntax::ast::Attribute;
use crate::utils::{match_type, paths, snippet_opt, span_help_and_lint, LimitStack};
use crate::utils::{match_type, paths, snippet_opt, span_lint_and_help, LimitStack};
declare_clippy_lint! {
/// **What it does:** Checks for methods with high cognitive complexity.
@@ -96,7 +96,7 @@ impl CognitiveComplexity {
},
};
span_help_and_lint(
span_lint_and_help(
cx,
COGNITIVE_COMPLEXITY,
fn_span,