rust/tests
Dylan DPC 6da62a40f2
Rollup merge of #110614 - compiler-errors:new-solver-overflow-response, r=lcnr
Clear response values for overflow in new solver

When we have an overflow, return a trivial query response. This fixes an ICE with the code described in #110544:

```rust
trait Trait {}

struct W<T>(T);

impl<T, U> Trait for W<(W<T>, W<U>)>
where
    W<T>: Trait,
    W<U>: Trait,
{}

fn impls<T: Trait>() {}

fn main() {
    impls::<W<_>>()
}
```

Where, while proving `W<?0>: Trait`, we overflow but still apply the query response of `?0 = (W<?1>, W<?2>)`. Then while re-processing the query to validate that our evaluation result was stable, we get a different query response that looks like `?1 = (W<?3>, W<?4>), ?2 = (W<?5>, W<?6>)`, and so we trigger the ICE.

Also, by returning a trivial query response we also avoid the infinite-loop/OOM behavior of the old solver.

r? ``@lcnr``
2023-04-29 11:27:54 +05:30
..
assembly Add loongarch64 asm! support 2023-04-25 14:15:31 +08:00
auxiliary
codegen Also use mir::Offset for pointer add 2023-04-27 22:44:42 -07:00
codegen-units Turn off inlining for codegen-unit tests 2023-04-07 15:46:45 -04:00
debuginfo Remove repeated definite articles 2023-04-27 00:48:00 +08:00
incremental Turn on ConstDebugInfo pass. 2023-04-22 23:41:48 +02:00
mir-opt handle cfg(bootstrap) 2023-04-28 08:47:55 -07:00
pretty Auto merge of #108148 - parthopdas:master, r=oli-obk 2023-03-20 03:24:27 +00:00
run-make run-make test: using single quotes to not trigger the shell 2023-04-28 16:11:45 +02:00
run-make-fulldeps Bless run-make-fulldeps test. 2023-04-20 18:03:33 +00:00
run-pass-valgrind
rustdoc Auto merge of #110901 - GuillaumeGomez:inlined-repr-rustdoc, r=notriddle 2023-04-28 20:33:33 +00:00
rustdoc-gui rustdoc: remove unneeded handleKey from settings.js 2023-04-21 16:42:23 -07:00
rustdoc-js rustdoc-search: add support for nested generics 2023-04-14 14:55:45 -07:00
rustdoc-js-std rustdoc-search: add support for nested generics 2023-04-14 14:55:45 -07:00
rustdoc-json Move test from rustdoc-ui to rustdoc-json 2023-04-14 18:19:49 +00:00
rustdoc-ui Rollup merge of #110904 - fmease:rustdoc-fix-110900, r=compiler-errors 2023-04-28 07:34:03 +02:00
ui Rollup merge of #110614 - compiler-errors:new-solver-overflow-response, r=lcnr 2023-04-29 11:27:54 +05:30
ui-fulldeps Add Call terminator to SMIR 2023-04-20 12:00:41 -03:00
COMPILER_TESTS.md