about summary refs log tree commit diff
path: root/tests/ui/recursion/issue-26548-recursion-via-normalize.stderr
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-20 22:22:31 +0000
committerbors <bors@rust-lang.org>2023-07-20 22:22:31 +0000
commite2a7ba2771a70439cd546fdae676abe11dacf6f9 (patch)
tree4b467c4897a4732acf940199c2b931b0c1fb0844 /tests/ui/recursion/issue-26548-recursion-via-normalize.stderr
parent399b068235ceea440540539b3bfd1aeb82214a28 (diff)
parent4a177406ee869e6e6a067b7796808eca7de7fbb2 (diff)
downloadrust-e2a7ba2771a70439cd546fdae676abe11dacf6f9.tar.gz
rust-e2a7ba2771a70439cd546fdae676abe11dacf6f9.zip
Auto merge of #113858 - cjgillot:const-prop-pairs, r=oli-obk
Always const-prop scalars and scalar pairs

This removes some complexity from the pass.

The limitation to propagate ScalarPairs only for tuple comes from https://github.com/rust-lang/rust/pull/67015, when ScalarPair constant were modeled using `Rvalue::Aggregate`. Nowadays, we use `ConstValue::ByRef`, which does not care about the underlying type.

The justification for not propagating in all cases was perf. This seems not to be a clear cut any more: https://github.com/rust-lang/rust/pull/113858#issuecomment-1642396746
Diffstat (limited to 'tests/ui/recursion/issue-26548-recursion-via-normalize.stderr')
0 files changed, 0 insertions, 0 deletions