Add sub_types
docs
This commit is contained in:
parent
ba1e13fa66
commit
a0e1291c2d
1 changed files with 1 additions and 0 deletions
|
@ -1119,6 +1119,7 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Try to relate `sub <: sup`
|
||||||
fn sub_types(
|
fn sub_types(
|
||||||
&mut self,
|
&mut self,
|
||||||
sub: Ty<'tcx>,
|
sub: Ty<'tcx>,
|
||||||
|
|
Loading…
Add table
Reference in a new issue