Skip to content

Commit 3abdd2f

Browse files
committed
Auto merge of #4802 - mikerite:fix-breakage-20191111, r=phansch
Fix breakage due to rust-lang/rust#65324 changelog: none
2 parents 6f9c43d + c1fd750 commit 3abdd2f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

clippy_lints/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ extern crate rustc_index;
3131
#[allow(unused_extern_crates)]
3232
extern crate rustc_mir;
3333
#[allow(unused_extern_crates)]
34+
extern crate rustc_parse;
35+
#[allow(unused_extern_crates)]
3436
extern crate rustc_target;
3537
#[allow(unused_extern_crates)]
3638
extern crate rustc_typeck;

clippy_lints/src/write.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ use crate::utils::{snippet_with_applicability, span_lint, span_lint_and_sugg, sp
22
use rustc::lint::{EarlyContext, EarlyLintPass, LintArray, LintPass};
33
use rustc::{declare_lint_pass, declare_tool_lint};
44
use rustc_errors::Applicability;
5+
use rustc_parse::parser;
56
use std::borrow::Cow;
67
use syntax::ast::*;
7-
use syntax::parse::parser;
88
use syntax::token;
99
use syntax::tokenstream::TokenStream;
1010
use syntax_pos::{BytePos, Span};

0 commit comments

Comments
 (0)