diff options
| author | David Wood <david@davidtw.co> | 2018-09-11 17:57:58 +0200 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2018-09-23 13:50:22 +0200 |
| commit | 22e49e248df2dcaa0b6225a8f279292930af9c00 (patch) | |
| tree | ff654b33c9b7c4b97b844853dcdf382456d63346 /src/libsyntax/parse | |
| parent | 650a61c484388283301e03c324b9ac58e1bcfe18 (diff) | |
| download | rust-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
