mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-30 03:57:37 +00:00
![]() Fix needless_lifetimes in stable_mir Hi, This PR fixes the following clippy warning ``` warning: the following explicit lifetimes could be elided: 'a --> compiler/stable_mir/src/mir/visit.rs:490:6 | 490 | impl<'a> PlaceRef<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 490 - impl<'a> PlaceRef<'a> { 490 + impl PlaceRef<'_> { | ``` Best regards, Michal |
||
---|---|---|
.. | ||
mir | ||
abi.rs | ||
compiler_interface.rs | ||
crate_def.rs | ||
error.rs | ||
lib.rs | ||
mir.rs | ||
target.rs | ||
ty.rs | ||
visitor.rs |