cargo make

This commit is contained in:
TrapinchO 2024-04-03 22:53:23 +02:00
parent d940705c4c
commit 7312030278
1 changed files with 10 additions and 14 deletions

View File

@ -162,21 +162,17 @@ And this is the output you'll get if you run this program:
<img src="https://raw.githubusercontent.com/zkat/miette/main/images/single-line-example.png" alt="
Narratable printout:
\
diagnostic error code: oops::my::bad (link)
Error: oops!
Error: Types mismatched for operation.
Diagnostic severity: error
Begin snippet starting at line 1, column 1
\
Begin snippet for bad_file.rs starting
at line 2, column 3
\
snippet line 1: source
\
snippet line 2: text
highlight starting at line 1, column 3: This bit here
\
snippet line 3: here
\
diagnostic help: try doing it better next time?
">
snippet line 1: 3 + &quot;5&quot;
label starting at line 1, column 1: int
label starting at line 1, column 1: doesn't support these values.
label starting at line 1, column 1: string
diagnostic help: Change int or string to be the right types and try again.
diagnostic code: nu::parser::unsupported_operation
For more details, see https://docs.rs/nu-parser/0.1.0/nu-parser/enum.ParseError.html#variant.UnsupportedOperation">
### Using