Make sure #[rustc_doc_only_macro] and other rustc attributes are registered
This commit is contained in:
parent
3467e2120c
commit
0ffb6438a6
25 changed files with 133 additions and 191 deletions
|
|
@ -1525,9 +1525,7 @@ impl<'feat> ExpansionConfig<'feat> {
|
|||
}
|
||||
|
||||
fn enable_custom_inner_attributes(&self) -> bool {
|
||||
self.features.map_or(false, |features| {
|
||||
features.custom_inner_attributes || features.custom_attribute || features.rustc_attrs
|
||||
})
|
||||
self.features.map_or(false, |features| features.custom_inner_attributes)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue