mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
Print a horizontal rule after the last error
This commit is contained in:
parent
1360b04227
commit
828c5191cf
3 changed files with 23 additions and 2 deletions
|
@ -119,6 +119,10 @@ impl<'b> Report<'b> {
|
|||
])
|
||||
}
|
||||
}
|
||||
|
||||
pub fn horizontal_rule(palette: &'b Palette) -> String {
|
||||
format!("{}{}", palette.header, "─".repeat(80))
|
||||
}
|
||||
}
|
||||
|
||||
pub struct Palette<'a> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue