aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_completion/src/completions/pattern.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-05-29 16:19:44 +0100
committerGitHub <[email protected]>2021-05-29 16:19:44 +0100
commit8cd98bde39c67af8a5ab742b6a688edd355f5025 (patch)
tree21c155b7d95fd393765238aa09b99a895341854a /crates/ide_completion/src/completions/pattern.rs
parent247faf271b9098624cb0b09dd4914da66497dd5a (diff)
parent31588aea04aa1240fdc7b5279535f63b9f1681f8 (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/ide_completion/src/completions/pattern.rs')
0 files changed, 0 insertions, 0 deletions