diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2019-12-04 09:27:39 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2019-12-04 12:29:17 +0100 |
commit | 4cbbb625d0bfa589d2c421a649a3644646244811 (patch) | |
tree | ef352bc2e3b36e6a21cbb68858c7c68c050679ca /components/script_plugins/lib.rs | |
parent | 6e3c131139c412031a4d288aa1ffd048ca0311c3 (diff) | |
download | servo-4cbbb625d0bfa589d2c421a649a3644646244811.tar.gz servo-4cbbb625d0bfa589d2c421a649a3644646244811.zip |
Upgrade to rustc 1.41.0-nightly (7afe6d9d1 2019-12-03)
Diffstat (limited to 'components/script_plugins/lib.rs')
-rw-r--r-- | components/script_plugins/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script_plugins/lib.rs b/components/script_plugins/lib.rs index ec05f697e05..ea2b0fa74a6 100644 --- a/components/script_plugins/lib.rs +++ b/components/script_plugins/lib.rs @@ -21,9 +21,9 @@ #[macro_use] extern crate matches; -#[macro_use] extern crate rustc; extern crate rustc_driver; +extern crate rustc_session; extern crate syntax; use rustc::hir::def_id::DefId; @@ -32,6 +32,7 @@ use rustc::hir::{self, ExprKind, HirId}; use rustc::lint::{LateContext, LateLintPass, LintContext, LintPass}; use rustc::ty; use rustc_driver::plugin::Registry; +use rustc_session::declare_lint; use syntax::ast::{AttrKind, Attribute}; use syntax::source_map; use syntax::source_map::{ExpnKind, MacroKind, Span}; |