Thanks Rust
Conversation
Is this error message a bug?
3
1
2
Guessing it is because the anonymous lifetimes aren't showing up. Here is the fixed version: play.rust-lang.org/?version=stabl
2
Yeah that was my thought too. Seems like they should?
1
Replying to
Yeah, that's right. I'd say it's a diagnostic bug, that is made more confusing due to a combination of factors:
Quote Tweet
Replying to @brendanzab and @louispilfold
Note the use of a explicit lifetime on the `HasInner::with_inner` (seemed like elision wasn't linking them together), and the use of a `ref` pattern so that you you can get a binding that lives for the same lifetime as the thing you're matching on.

