Sema: add "parameter type declared here" note to type coercion

This commit is contained in:
Veikka Tuominen
2022-12-02 21:36:41 +02:00
parent 74285a4ed7
commit b500e0eb17
11 changed files with 62 additions and 11 deletions

View File

@@ -18,3 +18,4 @@ fn bar(x: *u32) void {
//
// :8:9: error: expected type '*u32', found '*align(1) u32'
// :8:9: note: pointer alignment '1' cannot cast into pointer alignment '4'
// :11:11: note: parameter type declared here