diff options
author | Vincent Ambo <mail@tazj.in> | 2023-02-13T07·58+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-02-13T16·21+0000 |
commit | 91a366af465aad00141df82200530ccf5da11339 (patch) | |
tree | 8645efceaf5ba737092e1ab0db9cd3ca51647927 /tvix | |
parent | 3c68159b81f9f4f322f19251a30c26344505b66b (diff) |
fix(tvix/eval): make fields of eval's Error type public r/5847
These should be inspectable by callers. Change-Id: Ia9ef871aa63958d06066aaea61b2aecbd217369b Reviewed-on: https://cl.tvl.fyi/c/depot/+/8089 Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix')
-rw-r--r-- | tvix/eval/src/errors.rs | 6 |
1 files 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<toml::de::Error> for ErrorKind { #[derive(Clone, Debug)] pub struct Error { - kind: ErrorKind, - span: Span, - contexts: Vec<String>, + pub kind: ErrorKind, + pub span: Span, + pub contexts: Vec<String>, } impl Error { |