From 72c3c92f3e06af2fcdb618bb55f29a38a9e736c7 Mon Sep 17 00:00:00 2001 From: nils <48135649+Nilstrieb@users.noreply.github.com> Date: Fri, 24 Jun 2022 12:59:09 +0200 Subject: [PATCH] add testln --- src/parser.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/parser.rs b/src/parser.rs index 46fd076..9f23d90 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -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 },