diff --git a/compiler/frontend/src/cst/kind.rs b/compiler/frontend/src/cst/kind.rs index a4a2f3d41..f37f57630 100644 --- a/compiler/frontend/src/cst/kind.rs +++ b/compiler/frontend/src/cst/kind.rs @@ -997,7 +997,7 @@ impl RichIrBuilder { } fn push_cst_kind_property(&mut self, property_name: &str, value: impl ToRichIr) { self.push_newline(); - self.push_simple(format!("{property_name}:")); + self.push_simple(format!("{property_name}: ")); value.build_rich_ir(self); } } diff --git a/compiler/frontend/src/cst/mod.rs b/compiler/frontend/src/cst/mod.rs index 276b62bd9..69cb42986 100644 --- a/compiler/frontend/src/cst/mod.rs +++ b/compiler/frontend/src/cst/mod.rs @@ -63,7 +63,7 @@ impl ToRichIr for Cst { " at {}..{}", *self.data.span.start, *self.data.span.end )); - builder.push_simple(": "); + builder.push_simple(" of kind "); self.kind.build_rich_ir(builder); } }