Eat close paren if capture_cfg to avoid unbalanced parens Fixes #116781
rustc_fluent_macro
rustc_macros
gen
gen {}
gen fn