Ralf Jung
|
d0fa0260ca
|
const checks: avoid 'top-level scope' terminology
|
2025-06-27 17:03:48 +02:00 |
|
Ralf Jung
|
bade3fd058
|
clarify and unify 'transient mutable borrow' errors
|
2025-06-26 18:11:24 +02:00 |
|
Ralf Jung
|
492526548d
|
const-eval: allow constants to refer to mutable/external memory, but reject such constants as patterns
|
2025-06-26 18:09:47 +02:00 |
|
Oli Scherer
|
b331b8b96d
|
Use the informative error as the main const eval error message
|
2025-06-02 15:37:15 +00:00 |
|
Vadim Petrochenkov
|
20faf8532b
|
compiletest: Make diagnostic kind mandatory on line annotations
|
2025-04-30 10:44:24 +03:00 |
|
Zalathar
|
835fbcbcab
|
Remove the -test suffix from normalize directives
|
2024-12-27 19:58:16 +11:00 |
|
Zalathar
|
d997bc998e
|
Simplify or delete normalize directives that don't care about bit-width
|
2024-12-27 12:42:07 +11:00 |
|
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 |
|
Obei Sideg
|
408eeae59d
|
Improve wording of static_mut_ref
Rename `static_mut_ref` lint to `static_mut_refs`.
|
2024-02-18 06:01:40 +03:00 |
|
Ralf Jung
|
340f8aac7e
|
const_mut_refs: allow mutable refs to statics
|
2024-02-17 10:19:17 +01:00 |
|
Ralf Jung
|
6fe4d66e64
|
allow static_mut_ref in some tests that specifically test mutable statics
|
2024-02-12 23:07:07 +01:00 |
|
Ralf Jung
|
d5de9a6105
|
check_consts: fix some duplicate errors by not calling check_static unnecessarily
|
2024-02-11 15:12:10 +01:00 |
|
Ralf Jung
|
4e77e368eb
|
unstably allow constants to refer to statics and read from immutable statics
|
2024-02-10 16:12:55 +01:00 |
|
Obei Sideg
|
a8aa6878f6
|
Update test for E0796 and static_mut_ref lint
|
2024-01-07 17:29:25 +03:00 |
|
Albert Larsan
|
cf2dff2b1e
|
Move /src/test to /tests
|
2023-01-11 09:32:08 +00:00 |
|