We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8cf608 commit f9716e4Copy full SHA for f9716e4
crates/hir-expand/src/proc_macro.rs
@@ -253,7 +253,6 @@ impl CustomProcMacroExpander {
253
self.proc_macro_id == Self::PROC_MACRO_ATTR_DISABLED
254
}
255
256
- /// The macro is explicitly disabled due to proc-macro attribute expansion being disabled.
257
pub fn as_expand_error(&self, def_crate: Crate) -> Option<ExpandErrorKind> {
258
match self.proc_macro_id {
259
Self::PROC_MACRO_ATTR_DISABLED => Some(ExpandErrorKind::ProcMacroAttrExpansionDisabled),
0 commit comments