Skip to content

Commit a0e1291

Browse files
committed
Add sub_types docs
1 parent ba1e13f commit a0e1291

File tree

1 file changed

+1
-0
lines changed
  • compiler/rustc_mir/src/borrow_check/type_check

1 file changed

+1
-0
lines changed

compiler/rustc_mir/src/borrow_check/type_check/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,6 +1119,7 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
11191119
)
11201120
}
11211121

1122+
/// Try to relate `sub <: sup`
11221123
fn sub_types(
11231124
&mut self,
11241125
sub: Ty<'tcx>,

0 commit comments

Comments
 (0)