fix(tvix/eval): fix current clippy warnings
It's been a while since the last time, so quite a lot of stuff has accumulated here. Change-Id: I0762827c197b30a917ff470fd8ae8f220f6ba247 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7597 Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
This commit is contained in:
parent
67d508f2ec
commit
71174f6626
17 changed files with 69 additions and 108 deletions
|
|
@ -558,7 +558,7 @@ impl Compiler<'_> {
|
|||
self.emit_force(s);
|
||||
}
|
||||
|
||||
ast::Attr::Ident(ident) => self.emit_literal_ident(&ident),
|
||||
ast::Attr::Ident(ident) => self.emit_literal_ident(ident),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1232,7 +1232,7 @@ pub fn compile(
|
|||
|
||||
let root_span = c.span_for(expr);
|
||||
let root_slot = c.scope_mut().declare_phantom(root_span, false);
|
||||
c.compile(root_slot, &expr);
|
||||
c.compile(root_slot, expr);
|
||||
|
||||
// The final operation of any top-level Nix program must always be
|
||||
// `OpForce`. A thunk should not be returned to the user in an
|
||||
|
|
@ -1247,6 +1247,6 @@ pub fn compile(
|
|||
lambda,
|
||||
warnings: c.warnings,
|
||||
errors: c.errors,
|
||||
globals: globals,
|
||||
globals,
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue