about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-06-05 02:02:19 +0000
committerbors <bors@rust-lang.org>2023-06-05 02:02:19 +0000
commit1841661c8007d3f8b3a8dc6ce6a24f7adebce731 (patch)
treee4c7a1b651e453045e5113f0ccaf4921f460909d /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff
parent488693721271772cf9d551b4d54de3020b937a54 (diff)
parentb469e8ce218cc48b723aa0e49f53b1690eee23d1 (diff)
downloadrust-1841661c8007d3f8b3a8dc6ce6a24f7adebce731.tar.gz
rust-1841661c8007d3f8b3a8dc6ce6a24f7adebce731.zip
Auto merge of #10869 - Centri3:allow_attributes, r=Manishearth
[`allow_attributes`, `allow_attributes_without_reason`]: Ignore attributes from procedural macros

I use `lint_reasons` and `clap`, which is a bit overzealous when it comes to preventing warnings in its macros; it uses a ton of allow attributes on everything to, as ironic as it is, silence warnings. These two now ignore anything from procedural macros.

PS, I think `allow_attributes.rs` should be merged with `attrs.rs` in the future.

fixes #10377

changelog: [`allow_attributes`, `allow_attributes_without_reason`]: Ignore attributes from procedural macros
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions