fix: Stabilize sort order of related_tests

This commit is contained in:
Lukas Wirth 2025-02-16 13:11:50 +01:00
parent b332a053e0
commit 1afbc220bc
2 changed files with 35 additions and 27 deletions

View file

@ -1084,6 +1084,9 @@ pub struct Struct;
);
}
// Rainbow highlighting uses a deterministic hash (fxhash) but the hashing does differ
// depending on the pointer width so only runs this on 64-bit targets.
#[cfg(target_pointer_width = "64")]
#[test]
fn test_rainbow_highlighting() {
check_highlighting(