pub fn run(&mut self) {
| --------- this data with an anonymous lifetime '_
...
...
51 | thread::spawn(move || {
| ___________________________________^
52 | | self.handle(receiver);
53 | | });
| |_____________________^ ...is captured here...
|
note: ...and is required to live as long as 'static
here
ну да, он жалуется на &mut self, а не на reciever