about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2022-02-17 23:36:16 -0800
committerScott McMurray <scottmcm@users.noreply.github.com>2022-03-10 00:16:06 -0800
commit7ef74bc8b97b9c129582a4d9c208fc615c5f6ba0 (patch)
tree093f187308cb8a93f6abbe541d69bc189e58e42a /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent01ad0ad653d57a5ccecffb08aff3c5564012f133 (diff)
downloadrust-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