fix(tvix/eval): address current clippy & grfn lints

Change-Id: I65c6feb9f817b5b367d37204a1f57acfe4100d97
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6430
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2022-09-03 04:20:00 +03:00 committed by tazjin
parent fe047885d7
commit 09eaa0d4ae
5 changed files with 32 additions and 38 deletions

View file

@ -24,7 +24,7 @@ pub fn interpret(code: &str, location: Option<PathBuf>) -> EvalResult<Value> {
eprintln!("parse error: {}", err);
}
return Err(Error {
kind: ErrorKind::ParseErrors(errors.to_vec()).into(),
kind: ErrorKind::ParseErrors(errors.to_vec()),
span: file.span,
});
}