FedericoBruzzone
cef97bce7b
Add TooGeneric
variant to LayoutError
and emit Unknown
one
...
- `check-pass` test for a MRE of #135020
- fail test for #135138
- switch to `TooGeneric` for checking CMSE fn signatures
- switch to `TooGeneric` for compute `SizeSkeleton` (for transmute)
- fix broken tests
2025-01-27 00:37:34 +01:00
Michael Goulet
b89a6e4932
Consider more erroneous layouts as LayoutError::ReferencesError to suppress spurious errors
2025-01-14 19:07:37 +00:00
Ralf Jung
ed8ee39930
fix ICE on type error in promoted
2024-12-09 15:17:26 +01:00
Ralf Jung
a17294dc0f
fix ICE when promoted has layout size overflow
2024-12-01 19:52:27 +01:00
The 8472
97b84e40cb
add tests for niches in pointers
2024-11-30 16:00:55 +01:00
Nadrieril
99468bb760
Update tests
2024-08-10 12:07:17 +02:00
许杰友 Jieyou Xu (Joe)
ec2cc761bc
[AUTO-GENERATED] Migrate ui tests from //
to //@
directives
2024-02-16 20:02:50 +00:00
León Orell Valerian Liehr
02320b502d
Improve the diagnostics for unused generic parameters
2024-02-01 16:18:03 +01:00
Oli Scherer
db7cd57091
Remove track_errors entirely
2024-01-23 15:23:22 +00:00
Jake Goulding
53eca9fa87
Adjust compiler tests for unused_tuple_struct_fields -> dead_code
2024-01-02 15:34:37 -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
Maybe Waffle
70f28a9110
Move tests from ui/discrim
dir
2023-06-08 12:33:17 +00:00
Caio
c62d49e75e
Address comment
2023-05-29 12:07:41 -03:00
Caio
41d414e3f4
Address comments
2023-05-24 19:54:13 -03:00
Caio
25e395653d
Move tests
2023-05-24 19:35:59 -03:00
Tomasz Miąsko
67f455afe1
Suppress "erroneous constant used" for constants tainted by errors
...
When constant evaluation fails because its MIR is tainted by errors,
suppress note indicating that erroneous constant was used, since those
errors have to be fixed regardless of the constant being used or not.
2023-05-15 00:00:00 +00:00
Michael Goulet
ff54c801f0
Encode VariantIdx so we can decode variants in the right order
2023-05-13 00:26:35 +00:00
Boxy
73b3ce26ec
improve diagnostics and bless tests
2023-05-05 21:42:54 +01:00
Caio
4adc5f9281
Move test files
2023-04-20 15:06:17 -03:00
Camille GILLOT
65c334ee8c
Fortify tests againts mir-opts.
2023-04-14 16:26:11 +00:00
Albert Larsan
cf2dff2b1e
Move /src/test to /tests
2023-01-11 09:32:08 +00:00