rust/compiler/stable_mir/src
Jubilee bc2f732870
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
2024-10-04 19:19:25 -07:00
..
mir Rollup merge of #131194 - practicalrs:fix_needless_lifetimes, r=celinval 2024-10-04 19:19:25 -07:00
abi.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
compiler_interface.rs Use &raw in the compiler 2024-09-26 20:33:26 -07:00
crate_def.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
error.rs Implement missing ABI structures in StableMIR 2024-03-01 11:02:05 -08:00
lib.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
mir.rs Add support to global allocation to stable-mir 2023-11-21 19:16:53 -08:00
target.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
ty.rs Compiler: Rename "object safe" to "dyn compatible" 2024-09-25 13:26:48 +02:00
visitor.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00