Closed pmarks closed 5 years ago
Yes I've also had this issue in my branch porting to the 2018 edition. This seems related to order of evaluation that's not the same for a generic index type and for a primitive type https://internals.rust-lang.org/t/rust-expression-order-of-evaluation/2605/30
This fix is fine. Just wondering why the nightly CI doesn't pass, I thought the dyn
keyword wasn't there until the crate was on the 2018 edition.
So it turns out the dyn
keyword was also stabilized in the 2015 edition, so I've pushed a fixed and I'm rebasing and merging your changes. Thanks!
this line is giving the following warning on the nightly compiler. This patch fixes the warning: