mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-11 15:23:05 +00:00
Fix Option camel case in debug messages
This commit is contained in:
parent
edc94f5c23
commit
633b40f75d
@ -492,13 +492,13 @@ fn lattice_var_and_t<L:LatticeDir Combine,
|
||||
match self.bnd(a_bounds) {
|
||||
Some(ref a_bnd) => {
|
||||
// If a has an upper bound, return the LUB(a.ub, b)
|
||||
debug!("bnd=some(%s)", a_bnd.inf_str(self.infcx()));
|
||||
debug!("bnd=Some(%s)", a_bnd.inf_str(self.infcx()));
|
||||
lattice_dir_op(a_bnd, b)
|
||||
}
|
||||
None => {
|
||||
// If a does not have an upper bound, make b the upper bound of a
|
||||
// and then return b.
|
||||
debug!("bnd=none");
|
||||
debug!("bnd=None");
|
||||
let a_bounds = self.with_bnd(a_bounds, *b);
|
||||
do self.combine_fields().bnds(&a_bounds.lb, &a_bounds.ub).then {
|
||||
self.infcx().set(vb, a_id, Root(a_bounds, nde_a.rank));
|
||||
|
Loading…
Reference in New Issue
Block a user