diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-08-04 16:04:35 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-04 16:04:35 +0000 |
| commit | 294cfd61c79d031da20e042c56cf621db1918228 (patch) | |
| tree | fa8afc3d22f8d55eb91ca3580bdaac4cab5db1d6 /docs/dev | |
| parent | 1b02cafa43a97dd4475b2d255c0f5662726a68f1 (diff) | |
| parent | 260936d0b70061e999bead3159a96b73047ab3a6 (diff) | |
Merge #9786
9786: fix: Fix detection of macro file in inactive-code diag r=jonas-schievink a=jonas-schievink Fixes https://github.com/rust-analyzer/rust-analyzer/issues/9753 `HirFileId::expansion_info` can return `None` for builtin macros or if there's an error in the macro call or definition, so add a `HirFileId::is_macro` method that checks the right thing. bors r+ Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Diffstat (limited to 'docs/dev')
0 files changed, 0 insertions, 0 deletions
