# HG changeset patch # User Valentin Gatien-Baron # Date 1566994618 14400 # Node ID ee0f511b7a2278e67a1a237333c78e7dd6c36a11 # Parent f1f9ad5ae4f847550d443e0abb50615a1fbfd0a3 rust: fix warnings about trait objects without dyn being deprecated Differential Revision: https://phab.mercurial-scm.org/D6770 diff -r f1f9ad5ae4f8 -r ee0f511b7a22 rust/hg-cpython/src/ref_sharing.rs --- a/rust/hg-cpython/src/ref_sharing.rs Thu Aug 29 23:38:24 2019 -0700 +++ b/rust/hg-cpython/src/ref_sharing.rs Wed Aug 28 08:16:58 2019 -0400 @@ -345,7 +345,7 @@ $name, $leaked, Box< - Iterator + dyn Iterator + Send, >, $success_func, @@ -367,7 +367,7 @@ py_shared_iterator_impl!( $name, $leaked, - Box + Send>, + Box + Send>, $success_func, $success_type );