tvl-depot/tvix/nix-compat-derive
Brian Olsen 743407e7ab fix(tvix/nix-compat-derive): Fix doctest for Rust older than 1.80
Exclusive range patterns were stabilized in Rust version 1.80 but Tvix
still uses Rust 1.79 and so would fail this one test when you ran
doctests from `mg shell //tvix:shell`.

It was not caught by CI because that does not currently run doctests.

The fix is just to use an inclusive pattern instead.

Fixes: b/417
Change-Id: Ifea7a3b84bb8f6f8c76e277979833713bdf51f46
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12375
Autosubmit: Brian Olsen <me@griff.name>
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2024-08-28 14:08:39 +00:00
..
src fix(tvix/nix-compat-derive): Fix doctest for Rust older than 1.80 2024-08-28 14:08:39 +00:00
Cargo.toml feat(tvix/nix-compat-derive): Add deriver for NixDeserialize 2024-08-25 15:05:50 +00:00
default.nix feat(tvix/nix-compat-derive): Add deriver for NixDeserialize 2024-08-25 15:05:50 +00:00