rust/compiler/rustc_const_eval/src
Matthias Krüger e7efa04450
Rollup merge of #143975 - RalfJung:type-id-eq, r=oli-obk
type_id_eq: check that the hash fully matches the type

The previous logic wouldn't always detect when the hash mismatches the provenance. Fix that by adding a new helper, `read_type_id`, that reads a single type ID while fully checking it for validity and consistency.

r? ``@oli-obk``
2025-07-17 10:41:48 +02:00
..
check_consts Port #[target_feature] to the new attribute parsing infrastructure 2025-07-03 07:54:19 +02:00
const_eval simplfy memory kind handling during interning 2025-07-16 15:29:52 +02:00
interpret Rollup merge of #143975 - RalfJung:type-id-eq, r=oli-obk 2025-07-17 10:41:48 +02:00
util Comment more code and make tests clearer 2025-07-16 00:50:20 +08:00
errors.rs add const_make_global; err for const_allocate ptrs if didn't call 2025-07-16 00:32:12 +08:00
lib.rs update cfg(bootstrap) 2025-05-12 15:33:37 +02:00