about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-07-17 10:41:48 +0200
committerGitHub <noreply@github.com>2025-07-17 10:41:48 +0200
commite7efa044500a6f87d14e72342dba7751205c26f5 (patch)
treee274c60f8ecd1e6ecc606de94e0ca2cff288fa8a /compiler/rustc_lint/src/errors.rs
parent4bf5787e2b952e8b432acc7b72d0f7e1838e8109 (diff)
parent42ec0280274acfa754ae88061ee6e77e7461fad1 (diff)
downloadrust-e7efa044500a6f87d14e72342dba7751205c26f5.tar.gz
rust-e7efa044500a6f87d14e72342dba7751205c26f5.zip
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``
Diffstat (limited to 'compiler/rustc_lint/src/errors.rs')
0 files changed, 0 insertions, 0 deletions