Skip to content

Commit

Permalink
Discard changes to crates/ruff_testing_macros/src/lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaReiser authored May 16, 2023
1 parent 4d16f03 commit 40ae4a8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions crates/ruff_testing_macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ fn find_highest_common_ancestor_module(module: &Module) -> &Module {
}
}

#[derive(Debug)]
struct Test {
path: PathBuf,
test_fn: ItemFn,
Expand All @@ -316,7 +317,7 @@ impl Test {
}
}

#[derive(Default)]
#[derive(Debug, Default)]
struct Module {
children: BTreeMap<String, Child>,
}
Expand All @@ -341,6 +342,7 @@ impl Module {
}
}

#[derive(Debug)]
enum Child {
Module(Module),
Test(Test),
Expand All @@ -355,7 +357,7 @@ impl Child {
}
}

#[derive(Default)]
#[derive(Debug, Default)]
struct Modules {
root: Module,
}
Expand Down

0 comments on commit 40ae4a8

Please sign in to comment.