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
..
2025-02-02 13:57:34 +11:00
2025-01-12 20:20:39 +08:00
2024-12-13 00:04:56 +00:00
2024-10-23 09:14:41 +01:00
2025-02-02 13:57:34 +11:00
2024-12-18 13:38:53 +11:00
2025-01-27 01:23:34 +00:00
2024-12-31 18:06:01 +00:00
2024-09-22 19:11:29 -04:00
2024-12-02 13:57:56 +01:00
2024-12-18 13:38:53 +11:00
2024-12-18 13:38:53 +11:00
2024-08-27 15:24:11 +10:00
2025-01-19 19:15:00 +00:00
2024-11-18 10:38:56 +01:00
2024-11-18 10:38:56 +01:00
2024-12-31 05:03:22 +00:00
2025-01-23 23:16:06 +00:00
2025-01-28 18:55:03 +00:00
2025-01-29 15:45:13 +00:00
2024-04-29 13:57:41 +10:00
2025-02-01 12:38:54 +11:00
2024-11-18 10:38:56 +01:00
2024-12-18 21:38:11 -05:00
2025-01-26 12:18:33 +01:00
2025-01-27 15:38:30 +01:00
2024-12-18 10:39:07 +11:00
2024-09-22 19:11:29 -04:00
2025-01-26 21:20:31 +01:00
2024-12-18 02:56:38 +00:00
2025-02-02 13:57:34 +11:00
2025-01-27 01:23:34 +00:00
2025-01-29 15:45:13 +00:00
2025-01-27 01:23:34 +00:00
2025-01-23 06:01:36 +00:00
2025-01-27 01:23:34 +00:00
2025-01-23 06:01:36 +00:00
2024-07-31 19:36:47 +02:00
2024-07-29 08:26:52 +10:00
2024-09-22 19:11:29 -04:00
2024-11-19 18:06:20 +01:00
2024-12-15 20:28:16 -08:00
2024-10-24 03:34:37 +00:00
2025-01-08 21:26:39 +01:00
2025-01-23 06:01:36 +00:00
2025-01-24 11:12:01 +00:00
2024-09-22 19:11:29 -04:00
2025-01-12 19:31:05 +05:30
2025-01-28 19:08:50 +00:00