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.
This commit is contained in:
Michael Goulet 2024-05-03 23:34:25 -04:00 committed by GitHub
commit 216cc5c8c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

Diff content is not available