mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-07 04:40:11 +00:00

fix usage of ty decl macro fragments in attributes See the test case. Due to one missing code path (and also the changes in #137517), using $ty or other specific fragments as part of an attr wouldn't work. $tt used to work since it wouldn't be parsed anywhere along the way. Closes #137662