mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 13:06:28 +03:00
ca79b82c6c
This solves a regression where `0.0.cmp()` was ambiguous when a custom trait with a `cmp` method was in scope. FOr integers it shouldn't be a problem in practice so I wasn't able to add a test.