mirror of
https://github.com/servo/servo.git
synced 2025-08-02 04:00:32 +01:00
Upgrade to rustc 1.34.0-nightly (da6ab956e 2019-01-27)
This commit is contained in:
parent
8646d7dbbc
commit
12d19760b3
3 changed files with 7 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue