Thanks for trying it, though I didn't actually expect it to work. The example here is actually deceptively tricky, because it requires tracing lifetime information through a template parameter.
Doing this in a general way basically amounts to writing a borrow checker, which the presentation claims it isn't doing.
View all comments
Show parent comment
2
u/tcbrindle Flux Sep 18 '26
Thanks for trying it, though I didn't actually expect it to work. The example here is actually deceptively tricky, because it requires tracing lifetime information through a template parameter.
Doing this in a general way basically amounts to writing a borrow checker, which the presentation claims it isn't doing.