Closed nokunish closed 9 months ago
The reason for this is the same as discussed in #1436. Both max
and min
are methods provided by the Ord
trait by default: there is no implementation of these methods by i32
, so the extern spec is not "well-formed".
Hi! I just noticed that providing
crashes Prusti, and the only function for the
std::cmp::Ord
that does not crash iscmp(..)
.