maybe something in here? https://doc.rust-lang.org/stable/reference/lifetime-elision.html#default-trait-object-lifetimes …
-
-
Replying to @KevinHoffman @rustlang
It's hard to guess without an example of what kinds of functions you're working with and type signatures. I was only guessing it was one of those 'static lifetime inference rules because you said you had a static lifetime pop up out of nowhere.
0 replies 0 retweets 1 like -
Boxed trait objects are static by default. Box<dyn Foo> is Box<dyn Foo + 'static> unless you specify another lifetime.
0 replies 0 retweets 1 like
What's the actual compiler output? Full error message is needed to help with cases like that
11:57 AM - 21 Aug 2019
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.