Voultapher / self_cell

Safe-to-use proc-macro-free self-referential structs in stable Rust.
Apache License 2.0
242 stars 15 forks source link

Fix insufficient covariance detection #50

Closed steffahn closed 11 months ago

steffahn commented 11 months ago

This is sufficient to fix the soundness in issue #49, however I couldn’t quite understand how to bring the testing framework up to date correctly, especially the test-extra/invalid_manual part, so feel free to add a test yourself using the example from #49, either to this PR or as a follow-up :-)

Voultapher commented 11 months ago

Thanks for the fix. Let me look into the tests.