Sema: add "cannot convert to payload type" error notes
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user