|
|
|
|
|
by mibsl
957 days ago
|
|
This is done so that the programmer doesn't have to reason about it. Polonius makes the compiler accept code that's obviously valid, but the current borrow checker isn't sophisticated enough to declare it as safe. I've bumped into this kind of problem when writing rust, at first it was hard to understand why the compiler doesn't accept my code. |
|