]> git.lizzy.rs Git - rust.git/commit
Auto merge of #7890 - Alexendoo:ptr-arg-alias, r=camsteffen
authorbors <bors@rust-lang.org>
Fri, 29 Oct 2021 19:45:26 +0000 (19:45 +0000)
committerbors <bors@rust-lang.org>
Fri, 29 Oct 2021 19:45:26 +0000 (19:45 +0000)
commitdbe167daaa9fd64213f78d55980070b4251a92be
tree33ca1a5e6a882fe17fc02796595e249c40844449
parent00821ca937ab400e465a008eecdef60e985665ad
parente2c30f05c11bd06d2ba11584407e6671e7d5d1b8
Auto merge of #7890 - Alexendoo:ptr-arg-alias, r=camsteffen

Ignore references to type aliases in ptr_arg

Works using the fact that the hir path will point to a TyAlias, rather than being resolved to the underlying type

Fixes #7699

changelog: [`ptr_arg`] No longer lints references to type aliases
tests/ui/ptr_arg.rs