We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lifetimes aren't used correctly!
repro:
#[derive(Debug, Error)] pub enum LifetimeError<'error> { #[error("There's a string down there!")] ParsingError(&'error str), }
you get:
error[E0726]: implicit elided lifetime not allowed here --> src/error.rs:15:10 | 15 | pub enum LifetimeError<'error> { | ^^^^^^^^^^^^^ expected lifetime parameter | help: indicate the anonymous lifetime | 15 | pub enum LifetimeError<'_><'error> { | ++++
The text was updated successfully, but these errors were encountered:
No branches or pull requests
lifetimes aren't used correctly!
repro:
you get:
The text was updated successfully, but these errors were encountered: