about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorUrgau <3616612+Urgau@users.noreply.github.com>2025-02-18 18:34:16 +0100
committerGitHub <noreply@github.com>2025-02-18 18:34:16 +0100
commit5b00e0b064168347b596317add3ab4d3775ba6dd (patch)
treec1aa458c841963e883d654efcde92a8bdcafd4a9 /compiler/rustc_codegen_llvm/src/errors.rs
parent626fcdf48fd9d23c078e9845bfb98f9cd5b7f3ae (diff)
parent9fc759099b20993e17a911e2fc7ffec83042b6f1 (diff)
downloadrust-5b00e0b064168347b596317add3ab4d3775ba6dd.tar.gz
rust-5b00e0b064168347b596317add3ab4d3775ba6dd.zip
Rollup merge of #137202 - Mark-Simulacrum:interned-is-hash, r=saethlin
Enforce T: Hash for Interned<...>

This adds panicking Hash impls for several resolver types that don't actually satisfy this condition. It's not obvious to me that rustc_resolve actually upholds the Interned guarantees but fixing that seems pretty hard (the structures have at minimum some interior mutability, so it's not really recursively hashable in place...). FIXME comments as such on those impls.

cc https://github.com/rust-lang/rust/pull/137196#issuecomment-2664350287

r? ``@saethlin``
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions