Merge pull request #13744 from Vexu/stage2-fixes

Improve error messages, fix dependency loops
This commit is contained in:
Andrew Kelley
2022-12-03 00:42:11 -05:00
parent fd57487e35
commit af958e95cc
40 changed files with 377 additions and 94 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