rust/compiler/stable_mir/src
Matthias Krüger 50e93bc080
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
2024-10-16 20:15:56 +02:00
..
mir Rollup merge of #131778 - practicalrs:fix_needless_lifetimes, r=jieyouxu 2024-10-16 20:15:56 +02: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 Fix match_same_arms in stable_mir 2024-10-14 19:48:41 +02:00