Minor unsoundness fix with FnDef lifetimes#156776
Conversation
|
Is it breaking for code that is not unsound? |
I'm not sure. Probably not? But worth doing a crater run to make sure. |
|
@bors try |
This comment has been minimized.
This comment has been minimized.
Minor unsoundness fix with `FnDef` lifetimes
|
@craterbot check |
|
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
This comment has been minimized.
This comment has been minimized.
|
The job Click to see the possible cause of the failure (guessed by this bot)For more information how to resolve CI failures of this job, visit this link. |
|
"Probably not" is |
oop. I'm new to this stuff 😅. The first error was forgetting to run x test and updating a known-bug to a regression test, the second one is a bit confusing though. I'll have to keep working before any of these changes get merged. |

This is a minor breaking(?) change that tries to fix some issues brought up in #70917 and #84366 . As far as I can tell, the behavior for closures is still unchanged, which I believe is another part of the unsoundness. I don't have enough experience working with the compiler yet to fix it though.
r? oli-obk