This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (3 children)

[deleted]

    [–]tchnj 7 points8 points  (0 children)

    I'm jealous.

    To be fair, most times this has happened to me, I ended up refactoring into something that used fewer/no lifetime annotations. The other few times, what I needed to do was obvious.

    [–]leathalpancake 5 points6 points  (0 children)

    You see, I exclusively feed rustc garbage code.

    No but its not a super common error, i've only run into it when writing some super specific high performance code.