K 10 svn:author V 5 tobik K 8 svn:date V 27 2019-12-17T06:40:51.477190Z K 7 svn:log V 1558 multimedia/termplay: Unbreak build with Rust 1.40.0 (D22843) error[E0596]: cannot borrow `**func` as mutable, as it is behind a `*const` pointer --> .../cargo-crates/gstreamer-0.11.2/src/iterator.rs:439:8 | 435 | let func = func as *const &mut (FnMut(T) -> bool); | ---- help: consider changing this to be a mutable pointer: `*mut &mut dyn std::ops::FnMut(T) -> bool` ... 439 | if (*func)(value) { | ^^^^^^^ `func` is a `*const` pointer, so the data it refers to cannot be borrowed as mutable error[E0596]: cannot borrow `**func` as mutable, as it is behind a `*const` pointer --> .../cargo-crates/gstreamer-0.11.2/src/iterator.rs:455:5 | 451 | let func = func as *const &mut (FnMut(T)); | ---- help: consider changing this to be a mutable pointer: `*mut &mut dyn std::ops::FnMut(T)` ... 455 | (*func)(value); | ^^^^^^^ `func` is a `*const` pointer, so the data it refers to cannot be borrowed as mutable error[E0596]: cannot borrow `**func` as mutable, as it is behind a `*const` pointer --> .../cargo-crates/gstreamer-0.11.2/src/iterator.rs:473:11 | 467 | let func = func as *const &mut (FnMut(U, T) -> Result); | ---- help: consider changing this to be a mutable pointer: `*mut &mut dyn std::ops::FnMut(U, T) -> std::result::Result` ... 473 | match (*func)(accum.take().unwrap(), value) { | ^^^^^^^ `func` is a `*const` pointer, so the data it refers to cannot be borrowed as mutable error: aborting due to 3 previous errors END