https://users.rust-lang.org/t/cloning-anyhow-error/73357/8
Random frustration is always a learning opportunity!
#Rust users should remember that Errors can't get Clone'd! See this thread for explanation why.
@manpacket @arichtman what matters to me is that Rust is LESS permissive rather than MORE permissive.
The change to new Range types seems unlikely to land in the 2024 edition though, given that it's not very far along..
@jonn @arichtman absolutely. And things are slowly getting better too, at least the Range gets fixed in the next version. I hope lending from closures can be fixed as well - right now you have to do some cursed workarounds.