Closed
Description
Playground link to reproduce: https://play.rust-lang.org/?gist=697ecc0c55cbf30bee0fb2d87736f704&version=nightly&mode=debug&edition=2018
Changing the suggested type to Arc<SomeTrait + 'static>
fixes the compiler error.
Having to manually specify this does not seem intentional. Perhaps this 'static
lifetime should be automatically inferred?