about summary refs log tree commit diff
path: root/docs/dev/debugging.md
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-08-04 16:04:35 +0000
committerGitHub <noreply@github.com>2021-08-04 16:04:35 +0000
commit294cfd61c79d031da20e042c56cf621db1918228 (patch)
treefa8afc3d22f8d55eb91ca3580bdaac4cab5db1d6 /docs/dev/debugging.md
parent1b02cafa43a97dd4475b2d255c0f5662726a68f1 (diff)
parent260936d0b70061e999bead3159a96b73047ab3a6 (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/debugging.md')
0 files changed, 0 insertions, 0 deletions