Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaskrgr committed Jul 3, 2019
1 parent e490f49 commit f18f81d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion clippy_lints/src/panic_unimplemented.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
use crate::utils::{is_direct_expn_of, is_expn_of, match_def_path, paths, resolve_node, span_lint};
use if_chain::if_chain;
use rustc::hir::ptr::P;
use rustc::hir::*;
use rustc::lint::{LateContext, LateLintPass, LintArray, LintPass};
use rustc::{declare_lint_pass, declare_tool_lint};
use syntax::ast::LitKind;
use syntax::ptr::P;
use syntax_pos::Span;

declare_clippy_lint! {
Expand Down
2 changes: 1 addition & 1 deletion clippy_lints/src/question_mark.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
use if_chain::if_chain;
use rustc::hir::def::{DefKind, Res};
use rustc::hir::ptr::P;
use rustc::hir::*;
use rustc::lint::{LateContext, LateLintPass, LintArray, LintPass};
use rustc::{declare_lint_pass, declare_tool_lint};
use rustc_errors::Applicability;
use syntax::ptr::P;

use crate::utils::paths::*;
use crate::utils::sugg::Sugg;
Expand Down
2 changes: 1 addition & 1 deletion clippy_lints/src/redundant_pattern_matching.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
use crate::utils::{match_qpath, paths, snippet, span_lint_and_then};
use rustc::hir::ptr::P;
use rustc::hir::*;
use rustc::lint::{LateContext, LateLintPass, LintArray, LintPass};
use rustc::{declare_lint_pass, declare_tool_lint};
use rustc_errors::Applicability;
use syntax::ast::LitKind;
use syntax::ptr::P;

declare_clippy_lint! {
/// **What it does:** Lint for redundant pattern matching over `Result` or
Expand Down
2 changes: 1 addition & 1 deletion clippy_lints/src/utils/hir_utils.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
use crate::consts::{constant_context, constant_simple};
use crate::utils::differing_macro_contexts;
use rustc::hir::ptr::P;
use rustc::hir::*;
use rustc::lint::LateContext;
use rustc::ty::TypeckTables;
use std::collections::hash_map::DefaultHasher;
use std::hash::{Hash, Hasher};
use syntax::ast::Name;
use syntax::ptr::P;

/// Type used to check whether two ast are the same. This is different from the
/// operator
Expand Down

0 comments on commit f18f81d

Please sign in to comment.