diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2018-09-15 10:21:58 +0300 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2018-09-15 11:10:51 +0300 |
| commit | 9219fc6c5c0d4fa2e5b7580448a2acccabc2c988 (patch) | |
| tree | dec862bb665c4987590cf53d93550b4ffdd6c247 /clippy_lints/src/functions.rs | |
| parent | 4aaef72fa0ba875fa2592990d1a50ea8b6e688a0 (diff) | |
| download | rust-9219fc6c5c0d4fa2e5b7580448a2acccabc2c988.tar.gz rust-9219fc6c5c0d4fa2e5b7580448a2acccabc2c988.zip | |
Reintroduce `extern crate` for non-Cargo dependencies.
Diffstat (limited to 'clippy_lints/src/functions.rs')
| -rw-r--r-- | clippy_lints/src/functions.rs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/clippy_lints/src/functions.rs b/clippy_lints/src/functions.rs index ec9aa7a4fd3..d73c0710ba1 100644 --- a/clippy_lints/src/functions.rs +++ b/clippy_lints/src/functions.rs @@ -1,14 +1,14 @@ use matches::matches; -use rustc::hir::intravisit; -use rustc::hir; -use rustc::lint::{LateContext, LateLintPass, LintArray, LintPass}; -use rustc::{declare_tool_lint, lint_array}; -use rustc::ty; -use rustc::hir::def::Def; -use rustc_data_structures::fx::FxHashSet; -use syntax::ast; -use rustc_target::spec::abi::Abi; -use syntax::source_map::Span; +use crate::rustc::hir::intravisit; +use crate::rustc::hir; +use crate::rustc::lint::{LateContext, LateLintPass, LintArray, LintPass}; +use crate::rustc::{declare_tool_lint, lint_array}; +use crate::rustc::ty; +use crate::rustc::hir::def::Def; +use crate::rustc_data_structures::fx::FxHashSet; +use crate::syntax::ast; +use crate::rustc_target::spec::abi::Abi; +use crate::syntax::source_map::Span; use crate::utils::{iter_input_pats, span_lint, type_is_unsafe_function}; /// **What it does:** Checks for functions with too many parameters. |
