@GordonBGood is correct, but I'll explain it in my own words: The conversion 
from `owned ref T` to `ref T` must produce a temporary location and only this 
temp is marked with `wasMoved`, in other words its destructor does not run. The 
`owned ref`'s destructor then still would be run at the end of `addWidget` 
detecting a now dangling ref. So yes, simply an implementation bug.

Reply via email to