about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection
diff options
context:
space:
mode:
authorBoxy Uwu <rust@boxyuwu.dev>2025-09-27 22:58:02 +0100
committerBoxy Uwu <rust@boxyuwu.dev>2025-09-27 22:58:02 +0100
commit4d411775139e1bc39c2752d78e40f2bcecb5304b (patch)
tree1568a6ae995c2bcc34902626c5787908ea0c1100 /compiler/rustc_trait_selection
parentade84871f718ea20a6460d28e82290353b4bf3d2 (diff)
downloadrust-4d411775139e1bc39c2752d78e40f2bcecb5304b.tar.gz
rust-4d411775139e1bc39c2752d78e40f2bcecb5304b.zip
Rename various "concrete opaque type" terminology to say "hidden type"
Diffstat (limited to 'compiler/rustc_trait_selection')
-rw-r--r--compiler/rustc_trait_selection/src/traits/select/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/select/mod.rs b/compiler/rustc_trait_selection/src/traits/select/mod.rs
index 1dd31990ab7..fb4f28412d4 100644
--- a/compiler/rustc_trait_selection/src/traits/select/mod.rs
+++ b/compiler/rustc_trait_selection/src/traits/select/mod.rs
@@ -2359,7 +2359,7 @@ impl<'tcx> SelectionContext<'_, 'tcx> {
                 if self.infcx.can_define_opaque_ty(def_id) {
                     unreachable!()
                 } else {
-                    // We can resolve the `impl Trait` to its concrete type,
+                    // We can resolve the opaque type to its hidden type,
                     // which enforces a DAG between the functions requiring
                     // the auto trait bounds in question.
                     match self.tcx().type_of_opaque(def_id) {