about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorTaylor Cramer <cramertj@google.com>2019-06-18 14:34:51 -0700
committerTaylor Cramer <cramertj@google.com>2019-06-18 16:22:22 -0700
commitd67db0042c1f4e163292ea59bdfac546c67f7001 (patch)
treed6ee0c8011e63c97d0389d4c463ff6f823a86369 /src/libsyntax/parse
parentb01a257da1fbb3f5661029dd390fdccc49dff287 (diff)
downloadrust-d67db0042c1f4e163292ea59bdfac546c67f7001.tar.gz
rust-d67db0042c1f4e163292ea59bdfac546c67f7001.zip
Preserve generator and yield source for error messages
Previously, error messages after HIR lowering all referred
to generators and yield, regardless of whether the original
source was a generator or an async/await body. This change
tracks the kind of each generator and yield source in order
to provide appropriately tailored error messages.
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions