pub fn replace_face_macro( source: &str, replacement: &str, ) -> Result<String, FaceSyntaxError>
Replace only the registration macro, preserving the surrounding Rust code. 只替换注册宏,保留同一文件里的其余 Rust 实现。