about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-10-10 13:40:09 +0000
committerbors <bors@rust-lang.org>2022-10-10 13:40:09 +0000
commit4ac3f2c24f6ece006e5bf9cfca578c2d961a87bd (patch)
treeacc64fe32faa4ca30473e979f368fb3f2afa9f65 /src/test/debuginfo/enum-thinlto.rs
parent3a69435af7a1e6273744085cb251adb2b9c30a03 (diff)
parent78f33c0e960a260d02d0f005350b8378d3003c0d (diff)
downloadrust-4ac3f2c24f6ece006e5bf9cfca578c2d961a87bd.tar.gz
rust-4ac3f2c24f6ece006e5bf9cfca578c2d961a87bd.zip
Auto merge of #13384 - Veykril:macro-fallbacks, r=Veykril
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.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions