about summary refs log tree commit diff
path: root/tests/coverage/overflow.rs
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2025-06-21 01:01:20 -0400
committerTrevor Gross <tmgross@umich.edu>2025-07-09 21:11:09 -0400
commite7ef31d651be6aa8809933fabb793b98300b970f (patch)
tree99957c9e4c0559f3e7895583f729c8a37fa1ff45 /tests/coverage/overflow.rs
parente43d139a82620a268d3828a73e12a8679339e8f8 (diff)
downloadrust-e7ef31d651be6aa8809933fabb793b98300b970f.tar.gz
rust-e7ef31d651be6aa8809933fabb793b98300b970f.zip
mbe: Refactor diagnostics for invalid metavar expression syntax
Give a more user-friendly diagnostic about the following:

* Trailing tokens within braces, e.g. `${foo() extra}`
* Missing parentheses, e.g. `${foo}`
* Incorrect number of arguments, with a hint about correct usage.
Diffstat (limited to 'tests/coverage/overflow.rs')
0 files changed, 0 insertions, 0 deletions