diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2022-02-17 23:36:16 -0800 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2022-03-10 00:16:06 -0800 |
| commit | 7ef74bc8b97b9c129582a4d9c208fc615c5f6ba0 (patch) | |
| tree | 093f187308cb8a93f6abbe541d69bc189e58e42a /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 01ad0ad653d57a5ccecffb08aff3c5564012f133 (diff) | |
| download | rust-7ef74bc8b97b9c129582a4d9c208fc615c5f6ba0.tar.gz rust-7ef74bc8b97b9c129582a4d9c208fc615c5f6ba0.zip | |
Let `try_collect` take advantage of `try_fold` overrides
Without this change it's going through `&mut impl Iterator`, which handles `?Sized` and thus currently can't forward generics. Here's the test added, to see that it fails before this PR (once a new enough nightly is out): https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=462f2896f2fed2c238ee63ca1a7e7c56
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
