internal: Set Durability to HIGH for enable_proc_attr_macros input

This commit is contained in:
Lukas Wirth 2023-03-29 19:13:40 +02:00
parent 5390949c11
commit e244942209
11 changed files with 33 additions and 28 deletions

View file

@ -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);