I'm thinking that you can have code that conditionally at runtime might destroy an object and free its memory.

Probably rustc just assumes the worst

Reply to this note

Please Login to reply.

Discussion

I don’t think you can explicitly do this in rust except in an unsafe block