rust/tests/ui/const-generics/occurs-check/unused-substs-2.stderr
lcnr 91535ad026 remove sub_relations from infcx, recompute in diagnostics
we don't track them when canonicalizing or when freshening,
resulting in instable caching in the old solver, and issues when
instantiating query responses in the new one.
2024-02-22 17:29:25 +01:00

10 lines
292 B
Plaintext

error[E0308]: mismatched types
--> $DIR/unused-substs-2.rs:22:24
|
LL | let (mut t, foo) = Foo::bind();
| ^^^^^^^^^^^ cyclic type of infinite size
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0308`.