A few small cleanups for newtype_index
Remove the `..` from the body, only a few invocations used it and it's inconsistent with rust syntax. Use `;` instead of `,` between consts. As the Rust syntax gods inteded.
This commit is contained in:
parent
d679764fb6
commit
8bfd6450c7
35 changed files with 68 additions and 115 deletions
|
@ -15,8 +15,7 @@ mod abs_domain;
|
|||
|
||||
rustc_index::newtype_index! {
|
||||
#[debug_format = "mp{}"]
|
||||
pub struct MovePathIndex {
|
||||
}
|
||||
pub struct MovePathIndex {}
|
||||
}
|
||||
|
||||
impl polonius_engine::Atom for MovePathIndex {
|
||||
|
@ -27,14 +26,12 @@ impl polonius_engine::Atom for MovePathIndex {
|
|||
|
||||
rustc_index::newtype_index! {
|
||||
#[debug_format = "mo{}"]
|
||||
pub struct MoveOutIndex {
|
||||
}
|
||||
pub struct MoveOutIndex {}
|
||||
}
|
||||
|
||||
rustc_index::newtype_index! {
|
||||
#[debug_format = "in{}"]
|
||||
pub struct InitIndex {
|
||||
}
|
||||
pub struct InitIndex {}
|
||||
}
|
||||
|
||||
impl MoveOutIndex {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue