diff options
author | Vincent Ambo <mail@tazj.in> | 2022-08-12T14·45+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-08-27T09·27+0000 |
commit | bf10c352012b3a12d5560890c12c2376ad00a92a (patch) | |
tree | 1dcc6ecf3b68fb8bd3f728b8c2fdab731471f1d2 /tvix/eval/src | |
parent | e33eaa2cb59cda63d1ae034d5bb00c3bf1fd435e (diff) |
chore(tvix/eval): add variant_size_differences warning to `Value` r/4516
Change-Id: I2f4719a81512a9a970edf22390afed490125bda7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6182 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'tvix/eval/src')
-rw-r--r-- | tvix/eval/src/value/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/eval/src/value/mod.rs b/tvix/eval/src/value/mod.rs index 5360f0cc7d56..2ba9ce9b50e6 100644 --- a/tvix/eval/src/value/mod.rs +++ b/tvix/eval/src/value/mod.rs @@ -12,6 +12,7 @@ pub use attrs::NixAttrs; pub use list::NixList; pub use string::NixString; +#[warn(variant_size_differences)] #[derive(Clone, Debug)] pub enum Value { Null, |