about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-09-21 05:53:36 +0000
committerbors <bors@rust-lang.org>2022-09-21 05:53:36 +0000
commit3956c9d3fe15bd55fdc25c094bf74fed88e8a5d2 (patch)
treee911c03c5828366fb48111e15959023eb0111ba8 /compiler/rustc_codegen_gcc
parent1f66a3e8d04756be3a72c5d8bd4414a5a20ef9f8 (diff)
parenta783d542073497b658d0e57960b612e2f6e0734a (diff)
downloadrust-3956c9d3fe15bd55fdc25c094bf74fed88e8a5d2.tar.gz
rust-3956c9d3fe15bd55fdc25c094bf74fed88e8a5d2.zip
Auto merge of #9505 - mikerite:fix-9504-2, r=dswij
Fix ICE in `unnecessary_to_owned`

Fixes #9504

Compiler generated call `into_future` 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.

changelog: [`unnecessary_to_owned`]: fix ICE
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions