Skip to content

Commit

Permalink
Rollup merge of #124687 - fee1-dead-contrib:private-clauses, r=compil…
Browse files Browse the repository at this point in the history
…er-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.
  • Loading branch information
compiler-errors authored May 4, 2024
2 parents 8fa3e0d + ee9c27b commit c6ac3d1
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit c6ac3d1

Please sign in to comment.