rust/compiler/rustc_expand
Nicholas Nethercote 238d9076fc Call compute_locs once per rule.
Currently it's called in `parse_tt` every time a match rule is invoked.
This commit moves it so it's called instead once per match rule, in
`compile_declarative_macro. This is a performance win.

The commit also moves `compute_locs` out of `TtParser`, because there's
no longer any reason for it to be in there.
2022-04-06 10:23:06 +10:00
..
2022-04-06 10:23:06 +10:00
2021-09-20 22:21:42 -04:00