mirror of
https://github.com/servo/servo.git
synced 2025-07-31 11:10:22 +01:00
fix(script_plugins): LintStore::register_late_pass
now passes an extra arg to a given closure
<https://github.com/rust-lang/rust/pull/101501>
This commit is contained in:
parent
2f4f3f066e
commit
66c03e3c96
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ fn registrar(reg: &mut Registry) {
|
|||
let symbols = Symbols::new();
|
||||
reg.lint_store.register_lints(&[&UNROOTED_MUST_ROOT]);
|
||||
reg.lint_store
|
||||
.register_late_pass(move || Box::new(UnrootedPass::new(symbols.clone())));
|
||||
.register_late_pass(move |_| Box::new(UnrootedPass::new(symbols.clone())));
|
||||
}
|
||||
|
||||
declare_lint!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue