diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-09-11 17:03:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-11 17:03:32 +0200 |
| commit | d24f57572237d5bbb16e737745457f030da80219 (patch) | |
| tree | fbae89805f8330428e7b56da5a06a1a73b5b7fa7 /compiler/rustc_mir_transform/src/coverage/debug.rs | |
| parent | e7a347baf8de99562d437279e25f45ed03fb3f3a (diff) | |
| parent | ce3b0442983e3689464f512b93b0c6bf020e7c36 (diff) | |
| download | rust-d24f57572237d5bbb16e737745457f030da80219.tar.gz rust-d24f57572237d5bbb16e737745457f030da80219.zip | |
Rollup merge of #115739 - Alexendoo:lint-pass-check-attribute, r=oli-obk
Call `LateLintPass::check_attribute` from `with_lint_attrs` Fixes #115571 For regular `register_late_pass` lints also means that `last_node_with_lint_attrs` is correct when in `check_attribute`, I've added a test that previously failed for `clippy::allow_attributes` As far as I can see the only late lint in rustc that uses `check_attribute` is `unstable_features` which is allow by default and deprecated so this is mostly for clippy (or future rustc lints)
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions
