diff --git a/compiler/reporting/src/report.rs b/compiler/reporting/src/report.rs index c34dbc52f9..6c9dc3b54c 100644 --- a/compiler/reporting/src/report.rs +++ b/compiler/reporting/src/report.rs @@ -171,6 +171,9 @@ pub enum ReportText { /// Emphasized text (might be bold, italics, a different color, etc) EmText(Box), + /// Text rendered as code (e.g. a monospace font, or with backticks around it). + Code(Box), + /// A region in the original source Region(roc_region::all::Region),