Replace no_ord_impl with orderable.
Similar to the previous commit, this replaces `newtype_index`'s opt-out `no_ord_impl` attribute with the opt-in `orderable` attribute.
This commit is contained in:
@@ -264,6 +264,7 @@ impl graph::WithPredecessors for CoverageGraph {
|
||||
|
||||
rustc_index::newtype_index! {
|
||||
/// A node in the control-flow graph of CoverageGraph.
|
||||
#[orderable]
|
||||
#[debug_format = "bcb{}"]
|
||||
pub(super) struct BasicCoverageBlock {
|
||||
const START_BCB = 0;
|
||||
|
||||
Reference in New Issue
Block a user