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. |
|
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
|
🎉 Experiment
Footnotes
|
This comment was marked as resolved.
This comment was marked as resolved.
|
|
bevy updated on the 19th, and the new version of bevy-channel-trigger containing both the fix and the bevy 0.19 update is now on crates.io https://crates.io/crates/bevy-channel-trigger |
|
☔ The latest upstream changes (presumably #159246) made this pull request unmergeable. Please resolve the merge conflicts by rebasing. |
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