Conversation
|
I believe this is a breaking change for scenarios using managed pointers. I'll update the commits accordingly. |
|
@flaper87 yes, I was going to mention that. |
|
@flaper87 so -- we definitely should see compilation errors for those tests. The reason we weren't is that my suggested changes to borrowck were incorrect. We basically want to treat |
|
Note: that patch I pointed you at leaves some dead code that can be cleaned up. And I think we can remove the |
|
@flaper87 this looks great; however, can you do a bit of cleanup:
|
|
@nikomatsakis roger that! re Unfortunately, this change is not ready to be merged, |
[breaking-change] cc rust-lang#11586
`@` pointers used to have special rooting and regions management. With `@` moving to standalone library, we don't need to keep that special treatment around. This patch modifies the way `@` pointers are treated by treating them as if they were `~` pointers Region checker and borrow checker were modified in this patch. Closes rust-lang#11586 [breaking-change]
This patch removes the special auto-rooting for `@` from the borrow checker. With `@` moving into a library, it doesn't make sense to keep this code around anymore. It also simplifies `trans` by removing root checking from there @nikomatsakis Closes: #11586
This patch removes the special auto-rooting for
@from the borrow checker. With@moving into a library, it doesn't make sense to keep this code around anymore. It also simplifiestransby removing root checking from there@nikomatsakis
Closes: #11586