diff options
Diffstat (limited to 'crates/hir_ty/src/traits/chalk/mapping.rs')
-rw-r--r-- | crates/hir_ty/src/traits/chalk/mapping.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/hir_ty/src/traits/chalk/mapping.rs b/crates/hir_ty/src/traits/chalk/mapping.rs index 58c337b40..86cbc4c7e 100644 --- a/crates/hir_ty/src/traits/chalk/mapping.rs +++ b/crates/hir_ty/src/traits/chalk/mapping.rs | |||
@@ -464,7 +464,7 @@ impl ToChalk for CallableDefId { | |||
464 | } | 464 | } |
465 | } | 465 | } |
466 | 466 | ||
467 | pub struct TypeAliasAsAssocType(pub TypeAliasId); | 467 | pub(crate) struct TypeAliasAsAssocType(pub(crate) TypeAliasId); |
468 | 468 | ||
469 | impl ToChalk for TypeAliasAsAssocType { | 469 | impl ToChalk for TypeAliasAsAssocType { |
470 | type Chalk = AssocTypeId; | 470 | type Chalk = AssocTypeId; |
@@ -478,7 +478,7 @@ impl ToChalk for TypeAliasAsAssocType { | |||
478 | } | 478 | } |
479 | } | 479 | } |
480 | 480 | ||
481 | pub struct TypeAliasAsForeignType(pub TypeAliasId); | 481 | pub(crate) struct TypeAliasAsForeignType(pub(crate) TypeAliasId); |
482 | 482 | ||
483 | impl ToChalk for TypeAliasAsForeignType { | 483 | impl ToChalk for TypeAliasAsForeignType { |
484 | type Chalk = ForeignDefId; | 484 | type Chalk = ForeignDefId; |
@@ -492,7 +492,7 @@ impl ToChalk for TypeAliasAsForeignType { | |||
492 | } | 492 | } |
493 | } | 493 | } |
494 | 494 | ||
495 | pub struct TypeAliasAsValue(pub TypeAliasId); | 495 | pub(crate) struct TypeAliasAsValue(pub(crate) TypeAliasId); |
496 | 496 | ||
497 | impl ToChalk for TypeAliasAsValue { | 497 | impl ToChalk for TypeAliasAsValue { |
498 | type Chalk = AssociatedTyValueId; | 498 | type Chalk = AssociatedTyValueId; |