diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2017-12-01 09:26:13 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2017-12-07 05:28:01 -0500 |
| commit | b4d71ea6f8165b326f065c5db8c7c07ad61bafd3 (patch) | |
| tree | 79dbdefaa1d50a2d0770344ac522326818f2f85b /src/test/incremental/thinlto | |
| parent | d5ef3e262f23d419750d7d96dce69ff17baf0e5b (diff) | |
| download | rust-b4d71ea6f8165b326f065c5db8c7c07ad61bafd3.tar.gz rust-b4d71ea6f8165b326f065c5db8c7c07ad61bafd3.zip | |
make `fn_sig().subst()` ICE when used with a closure
It's inefficient, and the substitution there doesn't account for the extra regions used by NLL inference, so it's a bad thing to encourage. As it happens all callers already know if they have a closure or not, from what I can tell.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
