Repository: mun-lang/mun (language: rust)

Issue:
After some error, compiler(in --watch mode) didn't go to newline in console
If try to `mun build mun.lib --watch` this code:
```
fn main(): float {
	0
}
```
Compiler output error and then will not go to newline for future outputs(yellow arrows on screenshot shows where console cursor right now)
![image](https://user-images.githubusercontent.com/40376451/71830146-f4171500-30c7-11ea-83b1-99699d712b1d.png)

So if after this we try to hotreload our code, we get that new errors log output wrong(with yellow line i drew the border between two compiler output):

![image](https://user-images.githubusercontent.com/40376451/71830269-3b9da100-30c8-11ea-82fe-c27ae5bb097c.png)

Also here gif where i show this issue:
![fg](https://user-images.githubusercontent.com/40376451/71830825-676d5680-30c9-11ea-93f1-1ca70d0b037f.gif)



Discussion / hints:

Fix patch:
diff --git a/crates/mun_compiler/src/diagnostics/emit.rs b/crates/mun_compiler/src/diagnostics/emit.rs
index 20fb339c9..a7f329b96 100644
--- a/crates/mun_compiler/src/diagnostics/emit.rs
+++ b/crates/mun_compiler/src/diagnostics/emit.rs
@@ -82,6 +82,9 @@ impl Emit for Diagnostic {
                     "^".to_string()
                         .repeat((line_col_end.col - line_col.col) as usize)
                 )?;
+            } else {
+                // move cursor to next line
+                writeln!(writer)?;
             }
         }
 


Test patch: