Hold a reference when we pass Option<Trait> to rust
authorMatt Corallo <git@bluematt.me>
Thu, 11 Nov 2021 17:34:41 +0000 (17:34 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 11 Nov 2021 17:38:32 +0000 (17:38 +0000)
This resolves a NPE when calling trait methods if the user doesn't
hold their own reference to the underlying trait, which is quite
possible for, eg, the `Filter` object.

We also adapt `HumanObjectPeerTest` to test this with a `Filter`.


No differences found