How do I pass the 'input
lifetime for Error
type
#965
Replies: 1 comment
-
Ah, never mind, it's late, and I must be tiered. I was experimenting with two grammar files, and simply forgot to update one of them. Shame! 😅 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Let's assume I have the following lexer error type:
For obvious reasons, I'm now getting a ton of "Misssing lifetime specifier" errors in the generted code. I've tried providing the lifetime like so, but that doesn't seem to help:
I've looked at a bunch of examples, and if I'm not mistaken, none of them had the lifetime of the input in the error type. Maybe it's a bad idea in the first place?
Beta Was this translation helpful? Give feedback.
All reactions