There is RFC that should allow to capture lent T/var T safely in future. But 
for now you need to use other types like ref T or ptr T

Reply via email to