rust/compiler/rustc_next_trait_solver/src
Matthias Krüger d55e2e4333
Rollup merge of #137314 - lcnr:cycles-with-unknown-kind, r=compiler-errors
change definitely unproductive cycles to error

builds on top of #136824 by adding a third variant to `PathKind` for paths which may change to be coinductive in the future but must not be so right now. Most notably, impl where-clauses of not yet coinductive traits.

With this, we can change cycles which are definitely unproductive to a proper error. This fixes https://github.com/rust-lang/trait-system-refactor-initiative/issues/114. This does not affect stable as we keep these cycles as ambiguous during coherence.

r? ````````@compiler-errors```````` ````````@nikomatsakis````````
2025-03-12 17:59:06 +01:00
..
solve Rollup merge of #137314 - lcnr:cycles-with-unknown-kind, r=compiler-errors 2025-03-12 17:59:06 +01:00
canonicalizer.rs Make sure we don't overrun the stack in canonicalizer 2025-02-21 18:24:05 +00:00
coherence.rs Begin to implement type system layer of unsafe binders 2024-12-22 21:57:57 +00:00
delegate.rs Remove allow(unused_variables) for rustc_transmute. 2025-02-28 17:31:31 +11:00
lib.rs Revert "Use workspace lints for crates in compiler/ #138084" 2025-03-10 18:12:47 +08:00
resolve.rs Remove associated type based effects logic 2024-10-24 09:46:36 +00:00