fn replace_at_span( original: &str, outer_span: Span, target_span: Span, expected_opcode: &str, replacement: &str, ) -> Option<String>