Potential error in error (warning) message #23224
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-resolve
Area: Name/path resolution done by `rustc_resolve` specifically
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:
So I change my namespace to use 'core' and I got this error:
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.
The text was updated successfully, but these errors were encountered: