about summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-07-20 23:47:48 +0000
committerbors <bors@rust-lang.org>2021-07-20 23:47:48 +0000
commitfabf502a7a24dfd2dfbc33030cb3d4bad7496b81 (patch)
tree45cf4d9c708e8ab22da67088798fd69910e84938 /compiler/rustc_query_impl/src
parentb41936b92cd8463020207cb2f62a4247942ef2e4 (diff)
parentc3ac8d8b8683fdb7f247e9107397ec8948ad4568 (diff)
downloadrust-fabf502a7a24dfd2dfbc33030cb3d4bad7496b81.tar.gz
rust-fabf502a7a24dfd2dfbc33030cb3d4bad7496b81.zip
Auto merge of #87168 - the8472:flatten-len, r=scottmcm
implement TrustedLen for Flatten/FlatMap if the U: IntoIterator == [T; N]

This only works if arrays are passed directly instead of array iterators
because we need to be sure that they have not been advanced before
Flatten does its size calculation.

resolves #87094
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions