Skip to content

Commit 8feee8f

Browse files
authored
Merge pull request rust-lang#19587 from MatrixFrog/patch-1
Remove incorrect doc comment
2 parents e583dff + 8d99f2f commit 8feee8f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/tools/rust-analyzer/crates/hir-expand/src/proc_macro.rs

-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ impl CustomProcMacroExpander {
253253
self.proc_macro_id == Self::PROC_MACRO_ATTR_DISABLED
254254
}
255255

256-
/// The macro is explicitly disabled due to proc-macro attribute expansion being disabled.
257256
pub fn as_expand_error(&self, def_crate: Crate) -> Option<ExpandErrorKind> {
258257
match self.proc_macro_id {
259258
Self::PROC_MACRO_ATTR_DISABLED => Some(ExpandErrorKind::ProcMacroAttrExpansionDisabled),

0 commit comments

Comments
 (0)