diff options
author | Vincent Ambo <mail@tazj.in> | 2022-09-03T01·20+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-09-08T20·17+0000 |
commit | 09eaa0d4ae63b0513c934535a40fa2aaa25846e1 (patch) | |
tree | 8070b85c5408b5f3d7073c025a322c27502fc581 /tvix/eval/src/eval.rs | |
parent | fe047885d75a97bd303176847db7fdb2a781344d (diff) |
fix(tvix/eval): address current clippy & grfn lints r/4763
Change-Id: I65c6feb9f817b5b367d37204a1f57acfe4100d97 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6430 Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/eval.rs')
-rw-r--r-- | tvix/eval/src/eval.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/eval/src/eval.rs b/tvix/eval/src/eval.rs index 296887451610..ecf0824871a0 100644 --- a/tvix/eval/src/eval.rs +++ b/tvix/eval/src/eval.rs @@ -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, }); } |