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.
2 parents b75b78b + f9716e4 commit 94f984fCopy full SHA for 94f984f
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