diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-10-26 14:17:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-26 14:17:40 +0200 |
| commit | 4f4335296498c7fbfd19cd2de2e193cd48c5051c (patch) | |
| tree | 008c4a4dd11388ddc0b837837d82319e94ea6cb6 /src/test/debuginfo/enum-thinlto.rs | |
| parent | 084edc426f2e7e4bbedb5c6afa7fc422a52ee379 (diff) | |
| parent | d717806363e71332c1563d33ffa0aed97cbbcdbd (diff) | |
| download | rust-4f4335296498c7fbfd19cd2de2e193cd48c5051c.tar.gz rust-4f4335296498c7fbfd19cd2de2e193cd48c5051c.zip | |
Rollup merge of #65743 - eddyb:generator-on-call, r=matthewjasper
rustc_typeck: don't record direct callees in generator_interior. For expressions like `f(g().await)` we were recording `f` as needing to be kept in a temporary (and therefore be tracked by the generator type) across the suspend, even if a function/method path. However, this is never needed, and can cause issues with complex function types (see #65244). cc @Zoxc @nikomatsakis
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
