Skip to content

Commit

Permalink
Make Bounds.clauses private
Browse files Browse the repository at this point in the history
  • Loading branch information
fee1-dead committed May 4, 2024
1 parent d2d24e3 commit 921e74f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_hir_analysis/src/bounds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use rustc_span::Span;
/// include the self type (e.g., `trait_bounds`) but in others we do not
#[derive(Default, PartialEq, Eq, Clone, Debug)]
pub struct Bounds<'tcx> {
pub clauses: Vec<(ty::Clause<'tcx>, Span)>,
clauses: Vec<(ty::Clause<'tcx>, Span)>,
}

impl<'tcx> Bounds<'tcx> {
Expand Down

0 comments on commit 921e74f

Please sign in to comment.