We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e583dff + 8d99f2f commit 8feee8fCopy full SHA for 8feee8f
src/tools/rust-analyzer/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