about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2025-04-16 07:12:35 +0000
committerGitHub <noreply@github.com>2025-04-16 07:12:35 +0000
commit8feee8fc378052a9aa150aa6ce07683fc61543de (patch)
treed5ab4b77a1ad9b68a5f6a8abcdebea0cf69debdb /src
parente583dffbf85a52b37af3b42e13d921a6d0effdcf (diff)
parent8d99f2f11a2809546b09ff38e71fadc076ebafde (diff)
downloadrust-8feee8fc378052a9aa150aa6ce07683fc61543de.tar.gz
rust-8feee8fc378052a9aa150aa6ce07683fc61543de.zip
Merge pull request #19587 from MatrixFrog/patch-1
Remove incorrect doc comment
Diffstat (limited to 'src')
-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),