Lifetimes for type params, “the parameter type may not live long enough”

前端 未结 0 1499
北恋
北恋 2020-12-16 02:49

I have code like this (this is how #[async_trait] is expanded):

trait BoolTrait {
    fn check<\'s: \'f, \'v: \'f, \'f>(&\'s self, valu         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题