Files
rust/tests/ui
Samuel Tardieu d289009eea Const eval changes (#15773)
First commit treats all constants containing a macro call as non-local
and renames `eval_simple` to be a little clearer.

Second commit removes `CoreConstant` and treats most of them as though
they were local. A couple of the constants like `usize::MAX` are treated
as non-local as different targets may have different values.
`const_is_empty` will now ignore non-local constants since there's no
guarantee that they are the same across all targets/features/versions.

The third commit just changes some `eval` calls to `eval_local`. Most of
these were style lints which shouldn't be assuming the value of a
constant won't ever change.

changelog: none
2025-10-04 18:16:35 +00:00
..
2025-02-15 13:38:42 +01:00
2025-08-03 13:45:45 +02:00
2025-10-04 10:41:35 -04:00
2025-10-04 10:41:35 -04:00
2025-10-04 10:41:35 -04:00
2025-10-04 10:41:35 -04:00
2025-02-15 13:38:42 +01:00
2025-09-21 16:54:04 +02:00
2025-09-21 16:54:04 +02:00
2025-09-28 11:30:47 +02:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-10-04 10:41:35 -04:00
2025-02-15 13:38:42 +01:00
2025-06-18 10:20:46 +02:00
2025-09-17 19:42:38 -04:00
2025-09-28 12:11:02 +02:00
2025-09-28 12:11:02 +02:00
2025-09-28 12:11:02 +02:00
2025-09-28 12:11:02 +02:00
2025-09-28 12:11:02 +02:00
2025-02-15 13:38:43 +01:00
2025-07-13 13:50:01 +00:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-10-04 10:41:35 -04:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-07-13 13:50:01 +00:00
2025-09-14 11:35:54 +02:00
2025-09-14 11:35:54 +02:00
2025-06-11 15:30:15 +01:00
2025-06-11 15:30:15 +01:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00