rust/compiler/rustc_hir_analysis
Michael Goulet a55d30f53c
Rollup merge of #124687 - fee1-dead-contrib:private-clauses, r=compiler-errors
Make `Bounds.clauses` private

Construct it through `Bounds::default()`, then consume the clauses via the method `Bounds::clauses()`.

This helps with effects desugaring where `clauses()` is not only the clauses within the `clauses` field.
2024-05-03 23:34:25 -04:00
..
2024-03-08 12:34:05 +03:00

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.