diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-10-16 20:15:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-16 20:15:56 +0200 |
| commit | 50e93bc0802a104f4544777be55e3bb1148eb1e1 (patch) | |
| tree | 8de2f7767060b900348c7c8e17106132f08f7fdd /compiler/rustc_codegen_llvm/src | |
| parent | ac6353ed430fbf2e7b2faab58021782f591a0ded (diff) | |
| parent | a10a44956e4efddf4fdf0f7a8b10796b9ae965ea (diff) | |
| download | rust-50e93bc0802a104f4544777be55e3bb1148eb1e1.tar.gz rust-50e93bc0802a104f4544777be55e3bb1148eb1e1.zip | |
Rollup merge of #131778 - practicalrs:fix_needless_lifetimes, r=jieyouxu
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
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
