]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Auto merge of #95669 - nnethercote:call-compute_locs-once-per-rule, r=petrochenkov
authorbors <bors@rust-lang.org>
Wed, 6 Apr 2022 16:29:32 +0000 (16:29 +0000)
committerbors <bors@rust-lang.org>
Wed, 6 Apr 2022 16:29:32 +0000 (16:29 +0000)
commitc2afaba465e0bf44b9b37beba8d908b78dcdadc7
tree99189e16733cf8d8754ef7bb24e4c7f5fc961cbd
parentb6ab1fae73a14db17a59e81c532a2b8f048ac159
parent238d9076fc6d868c6268918ead1a59941c6d6556
Auto merge of #95669 - nnethercote:call-compute_locs-once-per-rule, r=petrochenkov

Call `compute_locs` once per rule

This fixes the small regressions on `wg-grammar` and `hyper-0.14.18` seen in #95555.

r? `@petrochenkov`
compiler/rustc_expand/src/mbe/macro_rules.rs