Matthias Krüger
5bc5827636
Rollup merge of #136422 - nnethercote:convert-lint-functions, r=Noratrieb
...
Convert two `rustc_middle::lint` functions to `Span` methods.
`rustc_middle` is a huge crate and it's always good to move stuff out of it. There are lots of similar methods already on `Span`, so these two functions, `in_external_macro` and `is_from_async_await`, fit right in. The diff is big because `in_external_macro` is used a lot by clippy lints.
r? ``@Noratrieb``
2025-02-02 18:05:24 +01:00
..
2024-12-03 08:56:33 +00:00
2025-01-17 04:36:09 +00:00
2025-01-11 23:57:00 -05:00
2025-01-31 17:19:53 +00:00
2025-02-01 12:42:39 +11:00
2025-01-28 11:22:25 -08:00
2025-01-28 11:22:25 -08:00
2025-01-24 19:34:01 +00:00
2025-01-19 19:15:00 +00:00
2024-11-12 13:38:58 +00:00
2025-02-02 18:05:23 +01:00
2025-02-02 18:05:22 +01:00
2025-02-02 12:31:55 +01:00
2025-01-31 06:55:04 +00:00
2025-01-31 21:11:23 -05:00
2025-02-02 12:31:55 +01:00
2025-02-01 16:41:03 +01:00
2025-01-31 16:04:13 +11:00
2025-02-01 12:38:54 +11:00
2025-01-25 11:41:21 +00:00
2024-12-31 01:56:33 +00:00
2025-02-02 18:05:24 +01:00
2025-01-22 14:46:41 +00:00
2025-01-30 15:30:04 +00:00
2025-01-31 11:13:34 +00:00
2025-02-02 12:31:57 +01:00
2025-01-29 15:45:13 +00:00
2025-02-02 18:05:24 +01:00
2025-01-04 11:35:31 +01:00
2025-01-19 19:15:00 +00:00
2024-12-19 20:32:12 +03:00
2025-01-31 04:09:11 +00:00
2025-02-01 12:42:39 +11:00
2024-12-09 06:23:59 -08:00
2025-02-02 18:05:24 +01:00
2025-01-31 20:36:44 +00:00
2025-01-31 20:16:46 +00:00
2025-01-07 14:30:02 +02:00
2025-02-01 12:42:41 +11:00
2025-02-01 12:42:39 +11:00
2025-02-02 18:05:24 +01:00
2025-02-02 12:31:56 +01:00
2025-01-31 17:19:53 +00:00
2025-02-02 12:31:57 +01:00
2025-02-01 12:38:54 +11:00
2025-01-30 17:47:44 +01:00
2025-01-30 12:45:27 +01:00
2025-01-29 09:48:08 +01:00
2025-02-01 01:19:19 +01:00
2025-01-20 04:26:44 +00:00
2025-01-31 20:36:44 +00:00
2025-01-07 21:57:00 +01:00
2025-01-16 19:12:22 +00:00
2025-01-28 11:22:25 -08:00
2025-01-30 18:13:16 +01:00
2025-01-31 09:42:28 +00:00
2025-02-01 16:41:03 +01:00
2025-02-02 18:05:24 +01:00
2025-01-31 04:09:11 +00:00
2025-01-31 12:28:17 +01:00
2025-02-02 18:05:24 +01:00
2025-01-29 02:12:12 +00:00
2025-01-30 17:47:44 +01:00
2025-02-02 12:31:55 +01:00
2025-01-30 17:47:44 +01:00
2025-01-31 11:13:34 +00:00