diff options
| author | Jubilee <workingjubilee@gmail.com> | 2024-10-04 19:19:25 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-04 19:19:25 -0700 |
| commit | bc2f732870602324ecce17aad19c9fc2a047f917 (patch) | |
| tree | 59f9a1458c204ed0d884440e663030947fd67e37 /src/librustdoc/scrape_examples.rs | |
| parent | 5bad4e9cae7fe6ea0543d1a98ba59cfe5a17e513 (diff) | |
| parent | 8918a9d265c38945fe442a8fcec71995f6e52b5a (diff) | |
| download | rust-bc2f732870602324ecce17aad19c9fc2a047f917.tar.gz rust-bc2f732870602324ecce17aad19c9fc2a047f917.zip | |
Rollup merge of #131194 - practicalrs:fix_needless_lifetimes, r=celinval
Fix needless_lifetimes in stable_mir Hi, This PR fixes the following clippy warning in stable_mir ``` warning: the following explicit lifetimes could be elided: 'a --> compiler/stable_mir/src/mir/visit.rs:79:30 | 79 | fn visit_projection_elem<'a>( | ^^ 80 | &mut self, 81 | place_ref: 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 | 79 ~ fn visit_projection_elem( 80 | &mut self, 81 ~ place_ref: PlaceRef<'_>, | ``` Best regards, Michal
Diffstat (limited to 'src/librustdoc/scrape_examples.rs')
0 files changed, 0 insertions, 0 deletions
