mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
internal: Set Durability to HIGH for enable_proc_attr_macros input
This commit is contained in:
parent
5390949c11
commit
e244942209
11 changed files with 33 additions and 28 deletions
|
@ -590,7 +590,7 @@ impl<'a> AssocItemCollector<'a> {
|
|||
) {
|
||||
self.attr_calls.push((ast_id, call_id));
|
||||
// If proc attribute macro expansion is disabled, skip expanding it here
|
||||
if !self.db.enable_proc_attr_macros() {
|
||||
if !self.db.expand_proc_attr_macros() {
|
||||
continue 'attrs;
|
||||
}
|
||||
let loc = self.db.lookup_intern_macro_call(call_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue