diff options
| author | David Wood <david@davidtw.co> | 2018-10-04 21:48:50 +0200 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2018-10-09 12:31:51 +0200 |
| commit | 98633b458b6dbde4afd1b468f35a1b8239b5c15c (patch) | |
| tree | 951099c1983cda64fd99ab43055780a852b493bb /src/libsyntax/parse | |
| parent | c65e11922908189bb13d67a490d49163c110b510 (diff) | |
| download | rust-98633b458b6dbde4afd1b468f35a1b8239b5c15c.tar.gz rust-98633b458b6dbde4afd1b468f35a1b8239b5c15c.zip | |
Improve message for closure returning a closure.
Now when a `FnMut` closure is returning a closure that contains a reference to a captured variable, we provide an error that makes it more clear what is happening.
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions
