This commit is contained in:
nora 2022-06-27 12:45:02 +02:00
commit 1722a9ea0f

View file

@ -62,6 +62,17 @@ impl DebugPls for Stmt {
} }
} }
struct Testln {
field: (),
hallo: std::path::Path,
}
impl std::fmt::Debug for Testl {
fn fmt(&self, f: std::fmt::Formatter<'_> {
f.write_str("Testln")
}
}
#[derive(Debug, PartialEq, Eq, DebugPls)] #[derive(Debug, PartialEq, Eq, DebugPls)]
pub enum StmtKind { pub enum StmtKind {
Mov { to: Expr, from: Expr }, Mov { to: Expr, from: Expr },