Skip to content

Conversation

@Dushyanthyadav
Copy link

@Dushyanthyadav Dushyanthyadav commented Dec 31, 2025

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

Fixes #150409

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Dec 31, 2025
@rustbot
Copy link
Collaborator

rustbot commented Dec 31, 2025

r? @davidtwco

rustbot has assigned @davidtwco.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ICE: const variables should not be hashed

3 participants