Samuel Tardieu
856a181570
Fix autofix for self and self as … in unused_imports lint
...
This fixes two problems with the autofixes for the `unused_imports`
lint:
- `use std::collections::{HashMap, self as coll};` would suggest, when
`HashMap` is unused, the incorrect `use std::collections::self as coll;`
which does not compile.
- `use std::borrow::{self, Cow};` would suggest, when `self` is unused,
`use std::borrow::{Cow};`, which contains unnecessary brackets.
2025-03-24 13:01:47 +01:00
..
2024-02-16 20:02:50 +00:00
2024-04-10 17:56:43 +08:00
2023-11-30 02:24:52 +00:00
2023-11-30 02:24:52 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-03-01 13:48:20 +00:00
2024-03-01 13:48:20 +00:00
2024-05-21 20:16:39 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-11-14 09:08:56 +08:00
2024-11-14 09:08:56 +08:00
2024-11-14 09:08:56 +08:00
2024-07-31 00:07:42 -04:00
2024-07-31 00:07:42 -04:00
2025-02-14 00:44:10 -08:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-04-24 08:05:29 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-01-02 15:34:37 -05:00
2024-01-02 15:34:37 -05:00
2024-02-16 20:02:50 +00:00
2023-12-29 13:49:23 +01:00
2023-12-29 13:49:23 +01:00
2024-02-16 20:02:50 +00:00
2025-03-24 13:01:47 +01:00
2025-03-24 13:01:47 +01:00
2025-03-24 13:01:47 +01:00
2024-05-21 20:16:39 +00:00
2024-05-21 20:16:39 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-12-13 00:04:56 +00:00
2024-12-13 00:04:56 +00:00
2024-12-13 00:04:56 +00:00
2024-12-13 00:04:56 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2025-03-07 10:50:31 +08:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2025-02-18 20:23:34 +01:00
2025-02-18 20:23:34 +01:00
2025-01-03 12:01:31 +01:00
2025-01-03 12:01:31 +01:00
2024-03-20 13:00:34 -04:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-12-13 00:04:56 +00:00
2024-12-13 00:04:56 +00:00
2024-06-06 20:39:54 +00:00
2024-06-06 20:39:54 +00:00
2025-03-13 00:22:30 +00:00
2024-05-10 16:42:09 +10:00
2024-10-20 00:12:52 -07:00
2024-05-10 16:42:09 +10:00
2024-10-20 00:12:52 -07:00
2024-05-10 16:42:09 +10:00
2024-10-20 00:12:52 -07:00
2024-10-01 07:51:58 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-11-14 09:08:56 +08:00
2024-11-14 09:08:56 +08:00
2024-11-14 09:08:56 +08:00
2024-10-12 09:32:25 +08:00
2024-10-12 09:32:25 +08:00
2024-10-12 09:32:25 +08:00
2024-02-16 20:02:50 +00:00