-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustc_session: remove dead code from check_expected_reuse() #105865
Conversation
r? @cjgillot (rustbot has picked a reviewer for you, use r? to override) |
This is an error that was created but not emitted in #100753. This needs to be wrapped in a |
It's a shame that no UI test actually pointed at this change, but this also looks like an internal error so I'm unsurprised. |
697eb3e
to
c3415d4
Compare
Thanks @matthiaskrgr. Could you try and make a test for it? There are already cgu-reuse tests in |
⌛ Testing commit c3415d4 with merge 97e767941d3332218a4be60f64d907c7574344e9... |
💔 Test failed - checks-actions |
The job Click to see the possible cause of the failure (guessed by this bot)
|
@bors r- bors resync doesn't track failures |
@matthiaskrgr Ping from triage: Can you post your status on this PR? This has sat idle for a few months. |
Closing this as inactive. Feel free to reöpen this pr or create a new pr if you get the time to work on this. Thanks |
looks like we construct this
IncorrectCguReuseType
but actually never do anything with it. So by skipping that, we can actually remove half the function which is a bit weird... 😅