Auto merge of #93878 - Aaron1011:newtype-macro, r=cjgillot
Convert `newtype_index` to a proc macro The `macro_rules!` implementation was becomng excessively complicated, and difficult to modify. The new proc macro implementation should make it much easier to add new features (e.g. skipping certain `#[derive]`s)
This commit is contained in:
commit
f6a79936da
7 changed files with 342 additions and 457 deletions
|
@ -281,7 +281,7 @@ impl graph::WithPredecessors for CoverageGraph {
|
|||
}
|
||||
|
||||
rustc_index::newtype_index! {
|
||||
/// A node in the [control-flow graph][CFG] of CoverageGraph.
|
||||
/// A node in the control-flow graph of CoverageGraph.
|
||||
pub(super) struct BasicCoverageBlock {
|
||||
DEBUG_FORMAT = "bcb{}",
|
||||
const START_BCB = 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue