about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2018-09-11 17:57:58 +0200
committerDavid Wood <david@davidtw.co>2018-09-23 13:50:22 +0200
commit22e49e248df2dcaa0b6225a8f279292930af9c00 (patch)
treeff654b33c9b7c4b97b844853dcdf382456d63346 /src/libsyntax/parse
parent650a61c484388283301e03c324b9ac58e1bcfe18 (diff)
downloadrust-22e49e248df2dcaa0b6225a8f279292930af9c00.tar.gz
rust-22e49e248df2dcaa0b6225a8f279292930af9c00.zip
Improve non-closure, reference in-and-out errors.
For cases where there are references in the parameters and in the the
outputs that do not match, and where no closures are involved, this
commit introduces an improved error that mentions (or synthesizes)
a name for the regions involved to better illustrate why the borrow
does not live long enough.
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions