diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-12-03 17:40:18 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-03 17:40:18 +0000 |
commit | ec2bdd3c16c326716acd4936845aed16c892c833 (patch) | |
tree | e891fb7e51b71893418c1eea48b6c619f07717df /crates/hir_def/src/nameres/tests/macros.rs | |
parent | d46fce88f5af1a97888edf91df2cb51ff5bfd61c (diff) | |
parent | 3e6ffa5124c620ed1e8d47b676d5fb3300176d24 (diff) |
Merge #6712
6712: Fix proc macro token mapping r=jonas-schievink a=jonas-schievink
Diagnostics inside proc macros are currently incorrectly placed at their original offset, but inside the containing file. This fixes that, by allowing the creation of `ExpansionInfo` from non-`macro_rules!` macro invocations.
bors r+
Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'crates/hir_def/src/nameres/tests/macros.rs')
0 files changed, 0 insertions, 0 deletions