You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#[assertr_eq(compare_bounds = "...")] for AssertrEq fields using custom compare_with functions, letting the
derive macro stay agnostic about the comparison's trait bounds.
Changed
Breaking: Assertion traits now route diagnostics through an AssertionRenderer<T> (new type state on AssertThat, defaulting to DebugRenderer) instead of requiring T: Debug. Use .with_renderer(...) or .with_debug_format(...) to render non-Debug values. Some traits gained additional generics, notably HashSetAssertions and HashMapAssertions now carry the hasher typeS.
Breaking: Generated AssertrEq matcher structs now use a custom Debug implementation that prints <unrendered> for fields whose type does not implement Debug.
Fixed
AssertrEq no longer emits renderer bounds for private fields, matching how those fields are excluded from
comparison.
Collection comparisons (AssertrPartialEq for slices and maps) now use the active assertion renderer instead of
always falling back to DebugRenderer.