mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
Add ReportText::Code
This commit is contained in:
parent
c5b7b93593
commit
bb2ececda4
1 changed files with 3 additions and 0 deletions
|
@ -171,6 +171,9 @@ pub enum ReportText {
|
||||||
/// Emphasized text (might be bold, italics, a different color, etc)
|
/// Emphasized text (might be bold, italics, a different color, etc)
|
||||||
EmText(Box<str>),
|
EmText(Box<str>),
|
||||||
|
|
||||||
|
/// Text rendered as code (e.g. a monospace font, or with backticks around it).
|
||||||
|
Code(Box<str>),
|
||||||
|
|
||||||
/// A region in the original source
|
/// A region in the original source
|
||||||
Region(roc_region::all::Region),
|
Region(roc_region::all::Region),
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue