Why can't `self.lambda` be `FnMut` when `self` is borrowed immutably?

Note that multiple threads are not needed to show UB, although in a single-thread context it is a bit more involved. See for example Rust Playground

2 Likes