rust/tests/ui/const-generics/occurs-check/unused-substs-5.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
263 B
Plaintext

error[E0308]: mismatched types
--> $DIR/unused-substs-5.rs:15:19
|
LL | x = q::<_, N>(x);
| ^ cyclic type of infinite size
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0308`.