From patchwork Wed Aug 28 12:19:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D6770: rust: fix warnings about trait objects without dyn being deprecated From: phabricator X-Patchwork-Id: 41423 Message-Id: To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Wed, 28 Aug 2019 12:19:02 +0000 valentin.gatienbaron created this revision. Herald added subscribers: mercurial-devel, kevincox, durin42. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D6770 AFFECTED FILES rust/hg-cpython/src/ref_sharing.rs CHANGE DETAILS To: valentin.gatienbaron, #hg-reviewers Cc: durin42, kevincox, mercurial-devel diff --git a/rust/hg-cpython/src/ref_sharing.rs b/rust/hg-cpython/src/ref_sharing.rs --- a/rust/hg-cpython/src/ref_sharing.rs +++ b/rust/hg-cpython/src/ref_sharing.rs @@ -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 );