pub fn count_custom_assertion_lines(
source_lines: &[&str],
patterns: &[String],
) -> usizeExpand description
Text-based fallback for T001 escape hatch. Patterns are literal substrings, not regex. Matches in comments, strings, and imports are included by design. Returns the number of source lines that contain any pattern as a substring.