mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-03 17:35:28 +03:00
2270553cbe
test: add regression cases for valtree hashing ICE This PR extends the existing regression test `printing_valtrees_supports_non_values.rs` to cover cases that previously caused an ICE in `const_kind.rs` due to hashing inference variables. It specifically adds: A case where an associated constant is used without the required trait bound. The `0: _` case as suggested in [Here](https://github.com/rust-lang/rust/issues/150409#issuecomment-3700022690) Fixes rust-lang/rust#150409