Remove incorrect doc comment

This commit is contained in:
Tyler Breisacher 2025-04-14 19:05:13 -07:00 committed by GitHub
parent b8cf608cfe
commit f9716e4782
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -253,7 +253,6 @@ impl CustomProcMacroExpander {
self.proc_macro_id == Self::PROC_MACRO_ATTR_DISABLED
}
/// The macro is explicitly disabled due to proc-macro attribute expansion being disabled.
pub fn as_expand_error(&self, def_crate: Crate) -> Option<ExpandErrorKind> {
match self.proc_macro_id {
Self::PROC_MACRO_ATTR_DISABLED => Some(ExpandErrorKind::ProcMacroAttrExpansionDisabled),