about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorMichael Wright <mikerite@lavabit.com>2022-09-21 07:02:52 +0200
committerMichael Wright <mikerite@lavabit.com>2022-09-21 07:14:04 +0200
commita783d542073497b658d0e57960b612e2f6e0734a (patch)
treee911c03c5828366fb48111e15959023eb0111ba8 /library/std/src/sys/unix/stack_overflow.rs
parent1f66a3e8d04756be3a72c5d8bd4414a5a20ef9f8 (diff)
downloadrust-a783d542073497b658d0e57960b612e2f6e0734a.tar.gz
rust-a783d542073497b658d0e57960b612e2f6e0734a.zip
Fix ICE in `unnecessary_to_owned`
Fixes #9504

Compiler generated call `into_iter` nodes return empty substs
which we need when checking it's predicates. Handle this by
simply exitting when we encounter one. This change introduces
false negatives in place of the ICEs.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions