File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/librustc/middle/typeck/infer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -492,13 +492,13 @@ fn lattice_var_and_t<L:LatticeDir Combine,
492
492
match self . bnd ( a_bounds) {
493
493
Some ( ref a_bnd) => {
494
494
// If a has an upper bound, return the LUB(a.ub, b)
495
- debug ! ( "bnd=some (%s)" , a_bnd. inf_str( self . infcx( ) ) ) ;
495
+ debug ! ( "bnd=Some (%s)" , a_bnd. inf_str( self . infcx( ) ) ) ;
496
496
lattice_dir_op ( a_bnd, b)
497
497
}
498
498
None => {
499
499
// If a does not have an upper bound, make b the upper bound of a
500
500
// and then return b.
501
- debug ! ( "bnd=none " ) ;
501
+ debug ! ( "bnd=None " ) ;
502
502
let a_bounds = self . with_bnd ( a_bounds, * b) ;
503
503
do self. combine_fields ( ) . bnds ( & a_bounds. lb , & a_bounds. ub ) . then {
504
504
self . infcx ( ) . set ( vb, a_id, Root ( a_bounds, nde_a. rank ) ) ;
You can’t perform that action at this time.
0 commit comments