Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign uperror: the parameter type `T` may not live long enough [E0310] #22
Comments
|
Is that an error coming from the inside of the library or while using the library? I'm confused because I actually just wrote added a struct called |
|
it occurred while cargo was compiling bincode, since I had included wire in On Thu, Feb 19, 2015, 3:21 PM Ty notifications@github.com wrote:
|
|
I just compiled |
|
I just compiled Wire too... No errors there either. |
|
I had to update my rust version with a date flag, rust itself wasn't updating due to an invalid hash. I had originally tested this on windows, but this is again from newest nightly:
|
|
Edit: I just realized it said bchannel and not bincode, so I should move this issue over to there; could have sworn it also included bincode, sorry for the confusion! Just to double check, I tried it again:
|
New rust version makes a breaking change:
I didn't see this on the breaking changes list, but I ended up having to modify my code as well, though wasn't thrilled with using static. Anyways, just giving you a heads up! Thanks for your support :D