rust/compiler
Matthias Krüger edcdab08a4
Rollup merge of #108033 - lcnr:coinductive-attr, r=compiler-errors
add an unstable `#[rustc_coinductive]` attribute

useful to test coinduction, especially in the new solver.

as this attribute should remain permanently unstable I don't think this needs any official approval. cc ``@rust-lang/types``

had to weaken the check for stable query results in the solver to prevent an ICE if there's a coinductive cycle with constraints.

r? ``@compiler-errors``
2023-02-14 18:24:42 +01:00
..
2023-02-06 17:40:18 +03:00
2023-02-02 07:47:39 +01:00
2023-02-06 17:40:18 +03:00
2023-01-31 07:54:01 +00:00