fn snippet_opt_sess(sess: &Session, span: Span) -> Option<String>