From 91a366af465aad00141df82200530ccf5da11339 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 13 Feb 2023 10:58:39 +0300 Subject: fix(tvix/eval): make fields of eval's Error type public These should be inspectable by callers. Change-Id: Ia9ef871aa63958d06066aaea61b2aecbd217369b Reviewed-on: https://cl.tvl.fyi/c/depot/+/8089 Autosubmit: tazjin Tested-by: BuildkiteCI Reviewed-by: flokli --- tvix/eval/src/errors.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tvix/eval/src/errors.rs b/tvix/eval/src/errors.rs index 8c0d6124201e..5000afed947f 100644 --- a/tvix/eval/src/errors.rs +++ b/tvix/eval/src/errors.rs @@ -257,9 +257,9 @@ impl From for ErrorKind { #[derive(Clone, Debug)] pub struct Error { - kind: ErrorKind, - span: Span, - contexts: Vec, + pub kind: ErrorKind, + pub span: Span, + pub contexts: Vec, } impl Error { -- cgit 1.4.1