about summary refs log tree commit diff
path: root/tests/ui/comparison_chain.rs
AgeCommit message (Collapse)AuthorLines
2019-11-24[comparison_chain] #4827 Check `core::cmp::Ord` is implementedTim Bodeit-0/+61
Only emit lint, if `cmp` is actually available on the type being compared. Don't emit lint in cases where only `PartialOrd` is implemented.
2019-09-24Add a new lint for comparison chainsJames Wang-0/+79