Ding Xiang Fei
1576a6d618
Stabilize const_refs_to_static
...
update tests
fix bitwidth-sensitive stderr output
use build-fail for asm tests
2024-09-26 13:21:15 +02:00
Ralf Jung
3175cc2814
stabilize const_mut_refs
2024-09-15 09:51:32 +02:00
Ralf Jung
f76f128dc9
const-eval interning: accpt interior mutable pointers in final value (but keep rejecting mutable references)
2024-09-10 10:26:16 +02:00
Ralf Jung
90c9e32ad2
consolidate miri-unleashed tests for mutable refs into one file
2024-07-13 14:43:38 +02:00
Oli Scherer
77fe9f0a72
Validate before reporting interning errors.
...
validation produces much higher quality errors and already handles most of the cases
2024-04-17 09:50:44 +00:00
Oli Scherer
8c9cba2be7
Validate nested static items
2024-04-17 09:50:15 +00:00
Felix S. Klock II
1ea091a7fc
Rebase. Update expected output to match current output.
2024-03-13 10:50:17 -04:00
Felix S. Klock II
354c41eeb6
Updated the test to include more output normalization.
2024-03-13 10:32:42 -04:00
Felix S. Klock II
1c3424bfc1
Added deny(const_eval_mutable_ptr_in_final_value) attribute to all tests that were expecting the hard error for it.
...
I attempted to do this in a manner that preserved the line numbers to reduce the
review effort on the resulting diff, but we still have to deal with the
ramifications of how a future-incompat lint behaves compared to a hard-error (in
terms of its impact on the diagnostic output).
2024-03-13 10:32:41 -04:00
Oli Scherer
9062697917
Always evaluate free constants and statics, even if previous errors occurred
2024-02-19 22:11:13 +00: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