add testln

This commit is contained in:
nora 2022-06-24 12:59:09 +02:00 committed by GitHub
parent f9a3d93558
commit 72c3c92f3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)]
pub enum StmtKind {
Mov { to: Expr, from: Expr },