diff options
| author | bors <bors@rust-lang.org> | 2023-06-12 12:28:36 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-06-12 12:28:36 +0000 |
| commit | b095247ab637194fbf6d271fc6a55552572dea2d (patch) | |
| tree | 99c6d16b1cc15e9d33a2658463065e6ad46749a6 /compiler/rustc_llvm/llvm-wrapper | |
| parent | ebafbfcf354433055f58368bbf5e1a6bb298f874 (diff) | |
| parent | 55c9100334ceeccecc75fbdfc5bef321404bc066 (diff) | |
| download | rust-b095247ab637194fbf6d271fc6a55552572dea2d.tar.gz rust-b095247ab637194fbf6d271fc6a55552572dea2d.zip | |
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
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions
