Files
rust/compiler
Matthias Krüger b7c2ba71c8 Rollup merge of #120148 - trevyn:issue-117965, r=cjgillot
`single_use_lifetimes`: Don't suggest deleting lifetimes with bounds

Closes #117965

```
9 |     pub fn get<'b: 'a>(&'b self) -> &'a str {
  |                ^^       -- ...is used only here
  |                |
  |                this lifetime...
```

In this example, I think the `&'b self` can be replaced with the bound itself, yielding `&'a self`, but this would require a deeper refactor. Happy to do as a follow-on PR if desired.
2024-01-20 09:37:28 +01:00
..
2024-01-16 21:15:31 +01:00
2023-12-05 17:52:51 -08:00
2024-01-17 03:14:16 +01:00
2024-01-17 03:14:16 +01:00
2024-01-19 20:38:51 +00:00
2024-01-19 11:09:30 +01:00