bors af431e1bb7 Auto merge of #12454 - alcolmenar:alcolmenar/fix-invalid-rm, r=epage
Fix cargo remove incorrectly removing used patches

### What does this PR try to resolve?

Fixes an issue where patches are being removed when member dependencies don't explicitly contain the patched crate.

Fixes #12419

### How should we test and review this PR?

- Created a test for the failing use case
- Verify passing test

<!--
### Additional information

Other information you want to mention in this PR, such as prior arts,
future extensions, an unresolved problem, or a TODO list.

-->
2023-08-10 18:00:32 +00:00
..
2023-08-05 12:11:07 -07:00
2023-02-20 12:20:26 -06:00
2023-02-14 12:26:01 -08:00
2023-08-05 12:11:07 -07:00
2023-06-05 11:27:31 +02:00
2023-08-05 12:11:07 -07:00
2023-05-26 20:27:34 +02:00
2023-03-31 14:04:48 -07:00
2021-12-12 13:30:31 -07:00
2023-04-12 09:56:43 -07:00
2023-07-24 17:12:20 -05:00
2023-07-21 16:02:24 -05:00
2023-02-20 12:21:27 -06:00
2022-05-08 01:07:28 +08:00
2022-12-19 10:50:55 -07:00
2023-07-21 16:02:24 -05:00
2023-04-02 15:37:53 -07:00
2022-08-10 23:19:35 +08:00
2023-07-21 16:02:24 -05:00