Sema: add "cannot convert to payload type" error notes

This commit is contained in:
Veikka Tuominen
2022-07-11 14:17:22 +03:00
parent 2a41b1449b
commit c9e1360cdb
10 changed files with 75 additions and 26 deletions

View File

@@ -9,4 +9,5 @@ fn foo() !void {
// backend=stage2
// target=native
//
// :2:12: error: error is discarded. consider using `try`, `catch`, or `if`
// :2:12: error: error is discarded
// :2:12: note: consider using `try`, `catch`, or `if`