Ask questionstrait objects without an explicit `dyn` are deprecated
I use rustc 1.37.0-nightly and report trait objects without an explicit
dyn are deprecated warnings
Answer questions jakubadamw
@stepancheg, well, it's released, but the code that gets generated still produces
trait objects without an explicit `dyn` are deprecated warnings under Rust >= 1.27. Shouldn't this issue be reopened, then?
I presume that the minimal Rust version required by
protoc-rust should go hand in hand with the minimal version the generated code is expected to compile under, correct? Therefore, if the version 2.7 requires Rust 1.27, so should the code it generates, and thereby it can use
dyn to eliminate the warnings?
Related questionsNo questions were found.