Skip to content
New issue

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

Rust 2024 edition warning (to be fixed Feb. 2024 after release) #72

Open
YamatoSecurity opened this issue Nov 28, 2024 · 0 comments
Open
Labels
invalid This doesn't seem right

Comments

@YamatoSecurity
Copy link
Contributor

After

rustup update nightly
cargo +nightly fix --edition
cargo +nightly build --release

we get the following warning:

warning: elided lifetime has a name
   --> src/evtx_parser.rs:434:44
    |
431 |     pub fn serialized_records<'a, U: Send>(
    |                               -- lifetime `'a` declared here
...
434 |     ) -> impl Iterator<Item = Result<U>> + '_ {
    |                                            ^^ this elided lifetime gets resolved as `'a`
    |
    = note: `#[warn(elided_named_lifetimes)]` on by default

warning: `evtx` (lib) generated 1 warning

Rust edition 2024 will be release next Feb 20, so we will fix it after it has been officially released.

@YamatoSecurity YamatoSecurity added the invalid This doesn't seem right label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant