Mastodon Feed: Post

Mastodon Feed

rust@mas.to ("Rust tips") wrote:

The next release of #RustLang will start warning about "mismatched lifetime syntaxes".

You can already automatically fix many of these cases by applying an auto-fix for the `elided_lifetimes_in_paths` warning:

RUSTFLAGS="-Welided_lifetimes_in_paths" cargo fix --all --all-targets