mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-30 03:27:44 +00:00
Merge pull request #19587 from MatrixFrog/patch-1
Remove incorrect doc comment
This commit is contained in:
commit
94f984f908
1 changed files with 0 additions and 1 deletions
|
|
@ -253,7 +253,6 @@ impl CustomProcMacroExpander {
|
||||||
self.proc_macro_id == Self::PROC_MACRO_ATTR_DISABLED
|
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> {
|
pub fn as_expand_error(&self, def_crate: Crate) -> Option<ExpandErrorKind> {
|
||||||
match self.proc_macro_id {
|
match self.proc_macro_id {
|
||||||
Self::PROC_MACRO_ATTR_DISABLED => Some(ExpandErrorKind::ProcMacroAttrExpansionDisabled),
|
Self::PROC_MACRO_ATTR_DISABLED => Some(ExpandErrorKind::ProcMacroAttrExpansionDisabled),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue