about summary refs log tree commit diff
path: root/src/tools/rust-analyzer
diff options
context:
space:
mode:
authorTyler Breisacher <244381+MatrixFrog@users.noreply.github.com>2025-04-14 19:05:13 -0700
committerGitHub <noreply@github.com>2025-04-14 19:05:13 -0700
commit8d99f2f11a2809546b09ff38e71fadc076ebafde (patch)
treea010e8f58805c0bc92ccbcb3424bec2fcd3afce7 /src/tools/rust-analyzer
parentd9b61b3382e83c8e3aaab0239da74e0526aed283 (diff)
downloadrust-8d99f2f11a2809546b09ff38e71fadc076ebafde.tar.gz
rust-8d99f2f11a2809546b09ff38e71fadc076ebafde.zip
Remove incorrect doc comment
Diffstat (limited to 'src/tools/rust-analyzer')
-rw-r--r--src/tools/rust-analyzer/crates/hir-expand/src/proc_macro.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/crates/hir-expand/src/proc_macro.rs b/src/tools/rust-analyzer/crates/hir-expand/src/proc_macro.rs
index 4920d90a974..8a1a33d7e3b 100644
--- a/src/tools/rust-analyzer/crates/hir-expand/src/proc_macro.rs
+++ b/src/tools/rust-analyzer/crates/hir-expand/src/proc_macro.rs
@@ -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),