bors d0ccb5413e Auto merge of #122505 - oli-obk:visit_nested_body2, r=tmiasko
Don't walk the bodies of free constants for reachability.

follow-up to #122371

cc #119214

This avoids codegening items (e.g. functions) that are only used during const eval, but do not reach their final constant value (e.g. via function pointers).

r? `@tmiasko`
2024-06-06 01:33:14 +00:00
..
2024-06-05 15:40:11 +00:00
2024-06-04 13:49:39 +02:00
2024-06-04 14:15:06 +10:00
2024-06-04 14:15:19 +10:00