about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-06-20 14:07:05 +0200
committerGitHub <noreply@github.com>2024-06-20 14:07:05 +0200
commitb099c05b3a5db8f56a1210bc53ca5d2d1b675170 (patch)
treee9b20181dba1a116ea0a67c18bbd55708267329d /compiler/rustc_interface/src/errors.rs
parentf511f2b18d0c5c3d974786781c3b01429a73f356 (diff)
parent53f10b936bc7052b7616f5a9e7f7f81c78f79f88 (diff)
downloadrust-b099c05b3a5db8f56a1210bc53ca5d2d1b675170.tar.gz
rust-b099c05b3a5db8f56a1210bc53ca5d2d1b675170.zip
Rollup merge of #126730 - oli-obk:opaque_type_diff_next_solver, r=lcnr
Add opaque type corner case test

r? ``@lcnr``

I can't make sense of the new solver tracing logs yet, so I just added the test without explanation.

The old solver does not yet figure out that `Foo == ()` from the where bounds. Unfortunately, even if we make it understand that, it will later try to prove `<X as Trait<'static>>::Out<Foo>: Sized` via the `is_sized_raw` query, which does not take a list of defineable opaque types, causing that check to fail with an ICE.

Thus I'm submitting this test case on its own just to ensure we handle it correctly in the future with any new solver or old solver changes.
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions