about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDeadbeef <ent3rm4n@gmail.com>2024-05-04 10:20:39 +0800
committerDeadbeef <ent3rm4n@gmail.com>2024-05-04 10:20:39 +0800
commit921e74fa57b70bb40e47bf3eb980b5a510982d6f (patch)
tree60f413e6211aade20c085ebdbdda14d670799ea6
parentd2d24e395a1e4fcee62ca17bf4cbddb1f903af97 (diff)
downloadrust-921e74fa57b70bb40e47bf3eb980b5a510982d6f.tar.gz
rust-921e74fa57b70bb40e47bf3eb980b5a510982d6f.zip
Make `Bounds.clauses` private
-rw-r--r--compiler/rustc_hir_analysis/src/bounds.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/bounds.rs b/compiler/rustc_hir_analysis/src/bounds.rs
index aafb5c1c0b4..5562b81871f 100644
--- a/compiler/rustc_hir_analysis/src/bounds.rs
+++ b/compiler/rustc_hir_analysis/src/bounds.rs
@@ -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> {