Port the #[link] attribute to the new parser

This commit is contained in:
Jonathan Brouwer
2025-07-16 13:46:08 +02:00
parent aab5e0bf1f
commit e8d08b5416
14 changed files with 639 additions and 623 deletions

View File

@@ -36,7 +36,7 @@ pub fn parse_cfg_attr<'c, S: Stage>(
parse_cfg_entry(cx, single)
}
fn parse_cfg_entry<S: Stage>(
pub(crate) fn parse_cfg_entry<S: Stage>(
cx: &mut AcceptContext<'_, '_, S>,
item: &MetaItemOrLitParser<'_>,
) -> Option<CfgEntry> {