Closed
Description
I am too new at rust to know if this is really an issue or not.
I was trying to get the sample "guess" program to work. At one point I got this warning:
warning: pattern binding
Less
is named the same as one of the variants of the typecore::cmp::Ordering
[E0170]
So I change my namespace to use 'core' and I got this error:
error: failed to resolve. Use of undeclared type or module
core::cmp::Ordering
In the end, the solution was to use "std::cmp::Ordering::Less" - so the bug(?) is the warning message steering me to the wrong namespace.