diff --git a/forc-util/src/lib.rs b/forc-util/src/lib.rs index c1600bc7f66..cbd5b424586 100644 --- a/forc-util/src/lib.rs +++ b/forc-util/src/lib.rs @@ -262,7 +262,7 @@ fn format_err(err: &sway_core::CompileError) { ..Default::default() }, }; - eprintln!("{}", DisplayList::from(snippet)) + eprintln!("{}\n____\n", DisplayList::from(snippet)) } fn format_warning(err: &sway_core::CompileWarning) { @@ -301,7 +301,7 @@ fn format_warning(err: &sway_core::CompileWarning) { ..Default::default() }, }; - eprintln!("{}", DisplayList::from(snippet)) + eprintln!("{}\n____\n", DisplayList::from(snippet)) } /// Given a start and an end position and an input, determine how much of a window to show in the