about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-05-25 21:47:07 +0000
committerbors <bors@rust-lang.org>2020-05-25 21:47:07 +0000
commit2a6cfa7f0537e9437de8ccd3781fb44645af6082 (patch)
treea7063eab924280ef601373473dc28e41a6b2abe2 /library/std/src/sys/unix/stack_overflow.rs
parentdd06d2983fd2fc9f1dd60f963762b3188a29abe6 (diff)
parenta1824e187cb6d17e48e2ff039810551540a9b826 (diff)
downloadrust-2a6cfa7f0537e9437de8ccd3781fb44645af6082.tar.gz
rust-2a6cfa7f0537e9437de8ccd3781fb44645af6082.zip
Auto merge of #5647 - ebroto:5644_allow_ptr_arg_in_arg_position, r=flip1995
ptr_arg: honor `allow` attribute on arguments

The `intravisit::Visitor` impl for `LateContextAndPass` only takes into account the attributes of a function parameter inside the `check_param` method. `ptr_arg` starts its heuristics at `check_item` / `check_impl_item` / `check_trait_item`, so the `allow` is not taken into account automatically.

changelog: ptr_arg: honor `allow` attribute on arguments

Fixes #5644
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions