mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-12-15 15:27:45 +00:00
fix: Fix incorrect type mismatch with `cfg_if!` and other macros in expression position Fixes https://github.com/rust-lang/rust-analyzer/issues/12940 This is a bit of a hack, ideally `MacroStmts` would not exist at all after HIR lowering, but that requires changing how the lowering code works.