mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-11 07:34:18 +00:00
run util/dev update_lints
and cargo fmt --all
This commit is contained in:
parent
4b736ff29b
commit
83d620b824
2 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
A collection of lints to catch common mistakes and improve your [Rust](https://github.com/rust-lang/rust) code.
|
||||
|
||||
[There are 295 lints included in this crate!](https://rust-lang.github.io/rust-clippy/master/index.html)
|
||||
[There are 296 lints included in this crate!](https://rust-lang.github.io/rust-clippy/master/index.html)
|
||||
|
||||
We have a bunch of lint categories to allow you to choose how much Clippy is supposed to ~~annoy~~ help you:
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
use crate::utils::{span_help_and_lint, span_lint_and_sugg, snippet_opt};
|
||||
use crate::utils::{snippet_opt, span_help_and_lint, span_lint_and_sugg};
|
||||
use rustc::lint::{EarlyContext, EarlyLintPass, LintArray, LintPass};
|
||||
use rustc::{declare_tool_lint, lint_array};
|
||||
use syntax::ast;
|
||||
use rustc_errors::Applicability;
|
||||
use syntax::tokenstream::TokenStream;
|
||||
use syntax::ast;
|
||||
use syntax::source_map::Span;
|
||||
use syntax::tokenstream::TokenStream;
|
||||
|
||||
/// **What it does:** Checks for usage of dbg!() macro.
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue