Files
rust/tests/ui
bors b095247ab6 Auto merge of #10911 - lochetti:fix_9657, r=Alexendoo
Don't linting `as_conversions` in proc macros

Don't linting `as_conversions` if code was generated by procedural macro.

This PR fixes https://github.com/rust-lang/rust-clippy/issues/9657

I implemented the fix changing the lint code to be a `LateLintPass` in order to be able to use the `is_from_proc_macro` out of the box. If the reviwer thinks that it would be better to do the other way (implementing `WithSearchPat`) just let me know. I might need some help in implementing it for the `ustc_ast::ast::Expr`

changelog: [`as_conversions`] avoiding warnings in macro-generated code
2023-06-12 12:28:36 +00:00
..
2023-06-10 06:51:03 -05:00
2022-10-01 10:03:06 +00:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2023-05-24 11:06:56 -05:00
2023-05-24 11:06:56 -05:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2021-08-11 14:21:33 +00:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2022-10-01 10:03:06 +00:00
2023-06-06 14:58:54 -04:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2023-06-09 15:32:42 -05:00
2023-06-09 15:32:42 -05:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2023-05-31 17:30:23 -05:00
2023-05-31 17:30:23 -05:00
2022-06-16 18:00:32 +04:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2023-03-08 14:40:38 +00:00
2023-03-08 14:40:38 +00:00
2023-06-07 22:57:15 +02:00
2021-08-11 14:21:33 +00:00
2023-06-09 21:39:58 -04:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2023-06-06 22:56:57 +02:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2021-08-11 14:21:33 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2023-06-06 22:56:57 +02:00
2022-10-01 10:03:06 +00:00
2023-04-27 17:18:12 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2022-10-01 10:03:06 +00:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2023-06-09 21:39:58 -04:00
2023-06-09 21:39:58 -04:00
2023-06-06 22:56:57 +02:00
2022-10-01 10:03:06 +00:00
2023-05-21 15:07:53 +02:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2021-08-11 14:21:33 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2022-10-01 10:03:06 +00:00
2021-08-11 14:21:33 +00:00
2022-10-01 10:03:06 +00:00
2021-08-11 14:21:33 +00:00
2023-06-10 06:51:03 -05:00
2022-10-01 10:03:06 +00:00
2023-06-06 22:56:57 +02:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2023-06-10 06:51:03 -05:00
2023-06-11 07:12:46 -05:00
2023-06-11 07:02:20 -05:00
2023-06-11 07:02:20 -05:00
2023-06-09 21:39:58 -04:00
2023-05-23 00:35:00 -05:00
2022-10-01 10:03:06 +00:00
2023-06-10 06:51:03 -05:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2022-10-01 10:03:06 +00:00
2023-06-02 13:26:12 -05:00
2023-06-02 13:26:12 -05:00
2022-10-01 10:03:06 +00:00
2023-06-06 22:56:57 +02:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2023-06-10 06:51:03 -05:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2023-05-22 23:00:28 -04:00
2023-05-22 23:00:28 -04:00
2023-05-22 20:02:45 -04:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2022-10-01 10:03:06 +00:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2023-06-06 22:56:57 +02:00
2023-06-06 22:56:57 +02:00
2023-06-06 22:56:57 +02:00
2022-10-01 10:03:06 +00:00
2021-07-27 16:26:50 -04:00
2021-07-27 16:26:50 -04:00
2022-10-01 10:03:06 +00:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-06-16 18:00:32 +04:00
2022-10-01 10:03:06 +00:00
2023-06-10 06:51:03 -05:00
2021-08-11 14:21:33 +00:00
2023-06-10 06:51:03 -05:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2023-06-10 06:51:03 -05:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00