pub fn validate_template_syntax(src: &str) -> Result<(), String>Expand description
Parse-only validation for lint/preflight. Returns a human-readable error
message when the template body is syntactically invalid; Ok(()) when the
template would parse. Does not resolve {{ include }} targets — those are
validated at render time with their own error reporting.