Mark lt as inline in PartialOrd
auto merge of #18138 : rclanan/rust/mark-lt-partialord-inline, r=sfackler

Fixes issue #18090