jj/lib/testutils
Ilya Grigoriev 6323764f69 lib: add rustversion, turn off a clippy lint in nightly in tests
This turns off the `clippy::cloned_ref_to_slice_refs` lint in some tests
and fixes it in others, for Rust 1.89+. This seems to make `cargo clippy
--workspace --all-targets --all-features` work in stable, beta, and
nightly (1.89).

This depends on the `rustversion` crate. Other than that, it's based on
Austin's https://github.com/jj-vcs/jj/pull/6705.

Co-authored-by:  Austin Seipp <aseipp@pobox.com>
2025-06-24 01:01:25 +00:00
..
src lib: add rustversion, turn off a clippy lint in nightly in tests 2025-06-24 01:01:25 +00:00
Cargo.toml merge-tools builtin: add property-based testing 2025-06-18 20:45:56 +00:00