pub fn try_format_source(
source: &str,
) -> Result<(String, Vec<FormatViolation>), String>Expand description
Format source and return the rewritten text plus a list of
[FormatViolation]s — one per rule that fired on a specific
location. Etap A: violations Vec is allocated but rules don’t yet
populate it; callers must not claim precise line ranges.
Subsequent commits migrate each normalize_* rule to push to this
vec as they rewrite.