(&self, other: &Self)
| 668 | /// Probably > Possibly > Unlikey > Unknown |
| 669 | impl PartialOrd for ApproximateAliasKind { |
| 670 | fn partial_cmp(&self, other: &Self) -> Option<Ordering> { |
| 671 | use ApproximateAliasKind::*; |
| 672 | match (*self, *other) { |
| 673 | (Probably, Probably) |
| 674 | | (Possibly, Possibly) |
| 675 | | (Unlikely, Unlikely) |
| 676 | | (Unknown, Unknown) => Some(Ordering::Equal), |
| 677 | (Probably, _) | (Possibly, Unlikely) | (Possibly, Unknown) | (Unlikely, Unknown) => { |
| 678 | Some(Ordering::Greater) |
| 679 | } |
| 680 | (_, Probably) | (Unlikely, Possibly) | (Unknown, Possibly) | (Unknown, Unlikely) => { |
| 681 | Some(Ordering::Less) |
| 682 | } |
| 683 | } |
| 684 | } |
| 685 | } |
| 686 | |
| 687 | /// `AliasId` identifies a unique memory cell interprocedurally. |
nothing calls this directly
no outgoing calls
no test coverage detected