diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-05-29 16:19:44 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-05-29 16:19:44 +0100 |
commit | 8cd98bde39c67af8a5ab742b6a688edd355f5025 (patch) | |
tree | 21c155b7d95fd393765238aa09b99a895341854a /crates/parser/src/syntax_kind/generated.rs | |
parent | 247faf271b9098624cb0b09dd4914da66497dd5a (diff) | |
parent | 31588aea04aa1240fdc7b5279535f63b9f1681f8 (diff) |
Merge #9046
9046: fix: make `include!` etc. work in expression position r=jonas-schievink a=jonas-schievink
This PR removes determination of fragment kinds from the eager macro implementations. The fragment kind is always determined by the syntax position in which a macro is invoked, not by the macro implementation, even for eager macros.
This makes `include!` work in expression position, and should have the same effect for all macros that may be used in different positions.
bors r+
Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'crates/parser/src/syntax_kind/generated.rs')
0 files changed, 0 insertions, 0 deletions