Skip to content

(#757): Hack (?) to fix type inference on 32-bit builds

Sometimes when the build fails for whatever other reason, we get this:

error[E0283]: type annotations needed
 --> src/rect.rs:126:26
    |
126 |             self.width() == Zero::zero() || self.height() == Zero::zero()
    |                          ^^ cannot infer type
    |
    = note: cannot satisfy `i32: PartialEq<_>`

as if type inference didn't work there.

Now it seems to be recurrent on 32-bit builds. No idea why.

Hopefully fixes #757 (closed)

Merge request reports