about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorThe8472 <git@infinite-source.de>2021-07-16 20:30:53 +0200
committerThe8472 <git@infinite-source.de>2021-07-16 20:38:42 +0200
commit8dd903cc774e7376f4c66e7940fae8a420b25123 (patch)
tree5709480b7b25f927f137ade1e0aab450f24a92c1 /compiler/rustc_mir/src/transform/coverage/debug.rs
parent18a034f97e8f69c8086301dad5ade9759883d775 (diff)
downloadrust-8dd903cc774e7376f4c66e7940fae8a420b25123.tar.gz
rust-8dd903cc774e7376f4c66e7940fae8a420b25123.zip
implement ConstSizeIntoIterator for &[T;N] in addition to [T;N]
Due to #20400 the corresponding TrustedLen impls need a helper trait
instead of directly adding `Item = &[T;N]` bounds.
Since TrustedLen is a public trait this in turn means
the helper trait needs to be public. Since it's just a workaround
for a compiler deficit it's marked hidden, unstable and unsafe.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions