Closed Enselic closed 5 months ago
I am messing around with Rust's standard library and gimli. In my particular setup, Rust's build system tries to build gimli in a way that can be simulated like this:
cargo rustc -- -Wrust_2018_idioms -Wunused_lifetimes -Dwarnings
When build that way, the master branch fails with a bunch of errors like this:
error: hidden lifetime parameters in types are deprecated
This PR fixes that.
Thanks for review. I have now enabled it as a warning and also updated tests (so that there is no warning emitted when running cargo test).
cargo test
I am messing around with Rust's standard library and gimli. In my particular setup, Rust's build system tries to build gimli in a way that can be simulated like this:
When build that way, the master branch fails with a bunch of errors like this:
This PR fixes that.