rust/crates/mbe/src
Lukas Wirth 78f33c0e96 Expand unmatched mbe fragments to reasonable default token trees
Currently we expand unmatched fragments by not replacing them at all,
leaving us with `$ident`. This trips up the parser or subsequent macro
calls. Instead it makes more sense to replace these with some reasonable
default depending on the fragment kind which should make more recursive
macro calls work better for completions.
2022-10-10 14:27:05 +02:00
..
expander Expand unmatched mbe fragments to reasonable default token trees 2022-10-10 14:27:05 +02:00
benchmark.rs Expand unmatched mbe fragments to reasonable default token trees 2022-10-10 14:27:05 +02:00
expander.rs Expand unmatched mbe fragments to reasonable default token trees 2022-10-10 14:27:05 +02:00
lib.rs Expand unmatched mbe fragments to reasonable default token trees 2022-10-10 14:27:05 +02:00
parser.rs Expand unmatched mbe fragments to reasonable default token trees 2022-10-10 14:27:05 +02:00
syntax_bridge.rs Improve insert whitespace in mbe 2022-08-10 16:28:56 +08:00
to_parser_input.rs Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00
token_map.rs
tt_iter.rs Implement ignore and index metavar expression 2022-07-11 18:31:42 +02:00