Upgrade to rustc 1.34.0-nightly (da6ab956e 2019-01-27)

This commit is contained in:
Simon Sapin 2019-01-28 11:23:51 +01:00
parent 8646d7dbbc
commit 12d19760b3
3 changed files with 7 additions and 1 deletions

View file

@ -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)
}