Skip to content

Commit 821ad37

Browse files
committed
Auto merge of #4251 - matthiaskrgr:rustup_10, r=Manishearth
rustup rust-lang/rust#61995 changelog: none
2 parents e490f49 + f18f81d commit 821ad37

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

clippy_lints/src/panic_unimplemented.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
use crate::utils::{is_direct_expn_of, is_expn_of, match_def_path, paths, resolve_node, span_lint};
22
use if_chain::if_chain;
3+
use rustc::hir::ptr::P;
34
use rustc::hir::*;
45
use rustc::lint::{LateContext, LateLintPass, LintArray, LintPass};
56
use rustc::{declare_lint_pass, declare_tool_lint};
67
use syntax::ast::LitKind;
7-
use syntax::ptr::P;
88
use syntax_pos::Span;
99

1010
declare_clippy_lint! {

clippy_lints/src/question_mark.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
use if_chain::if_chain;
22
use rustc::hir::def::{DefKind, Res};
3+
use rustc::hir::ptr::P;
34
use rustc::hir::*;
45
use rustc::lint::{LateContext, LateLintPass, LintArray, LintPass};
56
use rustc::{declare_lint_pass, declare_tool_lint};
67
use rustc_errors::Applicability;
7-
use syntax::ptr::P;
88

99
use crate::utils::paths::*;
1010
use crate::utils::sugg::Sugg;

clippy_lints/src/redundant_pattern_matching.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
use crate::utils::{match_qpath, paths, snippet, span_lint_and_then};
2+
use rustc::hir::ptr::P;
23
use rustc::hir::*;
34
use rustc::lint::{LateContext, LateLintPass, LintArray, LintPass};
45
use rustc::{declare_lint_pass, declare_tool_lint};
56
use rustc_errors::Applicability;
67
use syntax::ast::LitKind;
7-
use syntax::ptr::P;
88

99
declare_clippy_lint! {
1010
/// **What it does:** Lint for redundant pattern matching over `Result` or

clippy_lints/src/utils/hir_utils.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
use crate::consts::{constant_context, constant_simple};
22
use crate::utils::differing_macro_contexts;
3+
use rustc::hir::ptr::P;
34
use rustc::hir::*;
45
use rustc::lint::LateContext;
56
use rustc::ty::TypeckTables;
67
use std::collections::hash_map::DefaultHasher;
78
use std::hash::{Hash, Hasher};
89
use syntax::ast::Name;
9-
use syntax::ptr::P;
1010

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

0 commit comments

Comments
 (0)