about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-11-23T20·07+0200
committerclbot <clbot@tvl.fyi>2024-11-23T20·23+0000
commit25fb9e32f6a39494e65124e2ed7a78e4c64c65d5 (patch)
tree81727bb60b4005bcff74ce600402ddb98fa2a64b
parentcb85e87376138670e1ef9b2ca8a5746575e7564c (diff)
chore(tvix/nix-compat-derive-tests): update fixtures r/8959
With more implementing NixDeserialize, this error message changed.

Fixtures were regenerated by running:

```
TRYBUILD=overwrite cargo test -p nix-compat-derive-tests --all-features
```

Unfortunately, it's not possible to loop this into CI, as trybuild
invokes cargo during the build.

Change-Id: Ia0ab07d0907d21366845fe06e01df9fb1fe3e7cb
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12831
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
Tested-by: BuildkiteCI
-rw-r--r--tvix/nix-compat-derive-tests/tests/ui/deserialize_bad_type.stderr10
1 files changed, 5 insertions, 5 deletions
diff --git a/tvix/nix-compat-derive-tests/tests/ui/deserialize_bad_type.stderr b/tvix/nix-compat-derive-tests/tests/ui/deserialize_bad_type.stderr
index 9a57d5e2d15e..1bd224f38c93 100644
--- a/tvix/nix-compat-derive-tests/tests/ui/deserialize_bad_type.stderr
+++ b/tvix/nix-compat-derive-tests/tests/ui/deserialize_bad_type.stderr
@@ -6,14 +6,14 @@ error[E0277]: the trait bound `BadType: NixDeserialize` is not satisfied
   |
   = help: the following other types implement trait `NixDeserialize`:
             BTreeMap<K, V>
+            ClientSettings
+            IgnoredZero
+            Operation
+            StorePath<String>
             String
             Test
             Vec<T>
-            bool
-            bytes::bytes::Bytes
-            i64
-            u64
-            usize
+          and $N others
 note: required by a bound in `try_read_value`
  --> $WORKSPACE/nix-compat/src/wire/de/mod.rs
   |