Commit Graph

11 Commits

Author SHA1 Message Date
Folkert
c2894a4297
improve error reporting 2024-07-18 14:32:10 +02:00
Folkert
7b63734961
move CMSE validation to hir_analysis 2024-07-18 12:42:40 +02:00
Folkert
8a3dd7fb5f
add test for unions and repr(transparent) with ZST fields 2024-07-17 21:21:33 +02:00
Folkert
5f0f690bd6
add test for repr(transparent) enum 2024-07-17 15:41:16 +02:00
Folkert
1e8606408d
add more tests for cmse-nonsecure-call stack spills 2024-07-16 17:18:33 +02:00
Folkert
50ba821e12
add rust error message for CMSE stack spill
when the `C-cmse-nonsecure-call` ABI is used, arguments and return values must be passed via registers. Failing to do so (i.e. spilling to the stack) causes an LLVM error down the line, but now rustc will properly emit an error a bit earlier in the chain
2024-07-16 15:58:33 +02:00
许杰友 Jieyou Xu (Joe)
ec2cc761bc
[AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
Oli Scherer
eab2adb660 Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
George-lewis
d56cdd48cb Bless tests
Update tests
2024-01-13 12:46:58 -05:00
Nilstrieb
41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00
Albert Larsan
cf2dff2b1e
Move /src/test to /tests 2023-01-11 09:32:08 +00:00