Skip to content

Conversation

@tiif
Copy link
Member

@tiif tiif commented Nov 21, 2025

As mentioned in #148698 (comment), we should use TypingMode::PostAnalysis for that path.

@BoxyUwU prefer the match in try_evaluate_const to be exhaustive, so I also included that in this PR :3

@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 Nov 21, 2025
@rustbot
Copy link
Collaborator

rustbot commented Nov 21, 2025

r? @jackh726

rustbot has assigned @jackh726.
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

@tiif
Copy link
Member Author

tiif commented Nov 21, 2025

I tried writing some tests for this, but none of them manage to trigger any weird behaviour :(

@BoxyUwU
Copy link
Member

BoxyUwU commented Nov 22, 2025

r? BoxyUwU

@rustbot rustbot assigned BoxyUwU and unassigned jackh726 Nov 22, 2025
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.

4 participants