rust/tests/ui/occurs-check.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
261 B
Plaintext

error[E0275]: overflow evaluating the requirement `Box<_> <: _`
--> $DIR/occurs-check.rs:3:9
|
LL | f = Box::new(f);
| ^^^^^^^^^^^
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0275`.