From 75fab0a842ac3aa3dabdf702a98afe99dc014d55 Mon Sep 17 00:00:00 2001 From: Zhengchao An Date: Tue, 7 Jul 2026 03:01:43 +0800 Subject: [PATCH] fix(filemeta): satisfy clippy::field_reassign_with_default in replication_info_equals test (#4335) fix(filemeta): use struct-init to satisfy clippy::field_reassign_with_default The replication_info_equals test constructed FileInfo via `let mut x = FileInfo::default()` followed by field reassignment, which clippy::field_reassign_with_default (deny-by-default under -D warnings) rejects on the lib-test target, breaking `Test and Lint` CI on every PR. Rewrite the three constructions using struct-init + ..Default::default(). Test-only change; behavior unchanged.