Auto merge of #4802 - mikerite:fix-breakage-20191111, r=phansch

Fix breakage due to rust-lang/rust#65324

changelog: none
This commit is contained in:
bors 2019-11-11 06:03:56 +00:00
commit 3abdd2f1ce
2 changed files with 3 additions and 1 deletions

View File

@ -31,6 +31,8 @@ extern crate rustc_index;
#[allow(unused_extern_crates)]
extern crate rustc_mir;
#[allow(unused_extern_crates)]
extern crate rustc_parse;
#[allow(unused_extern_crates)]
extern crate rustc_target;
#[allow(unused_extern_crates)]
extern crate rustc_typeck;

View File

@ -2,9 +2,9 @@ use crate::utils::{snippet_with_applicability, span_lint, span_lint_and_sugg, sp
use rustc::lint::{EarlyContext, EarlyLintPass, LintArray, LintPass};
use rustc::{declare_lint_pass, declare_tool_lint};
use rustc_errors::Applicability;
use rustc_parse::parser;
use std::borrow::Cow;
use syntax::ast::*;
use syntax::parse::parser;
use syntax::token;
use syntax::tokenstream::TokenStream;
use syntax_pos::{BytePos, Span};