From 12d19760b37ee0271152695a1ac9ca040e72fa8d Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Mon, 28 Jan 2019 11:23:51 +0100 Subject: [PATCH] Upgrade to rustc 1.34.0-nightly (da6ab956e 2019-01-27) --- Cargo.lock | 2 ++ components/script_plugins/unrooted_must_root.rs | 4 ++++ rust-toolchain | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index a6d4544e957..74faaeff413 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,3 +1,5 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. [[package]] name = "adler32" version = "1.0.3" diff --git a/components/script_plugins/unrooted_must_root.rs b/components/script_plugins/unrooted_must_root.rs index dc38054720c..e1a78908033 100644 --- a/components/script_plugins/unrooted_must_root.rs +++ b/components/script_plugins/unrooted_must_root.rs @@ -100,6 +100,10 @@ fn is_unrooted_ty(cx: &LateContext, ty: &ty::TyS, in_new_function: bool) -> bool } impl LintPass for UnrootedPass { + fn name(&self) -> &'static str { + "ServoUnrootedPass" + } + fn get_lints(&self) -> LintArray { lint_array!(UNROOTED_MUST_ROOT) } diff --git a/rust-toolchain b/rust-toolchain index 3bd0575c240..452bb5c2b97 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -nightly-2019-01-15 +nightly-2019-01-28