rustc_session: remove dead code from check_expected_reuse()#105865
rustc_session: remove dead code from check_expected_reuse()#105865matthiaskrgr wants to merge 1 commit intorust-lang:masterfrom
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
IncorrectCguReuseTypebut actually never do anything with it. So by skipping that, we can actually remove half the function which is a bit weird... 😅