Revert "Revert "Add a lint rule for PYBIND11_DECLARE_HOLDER_TYPE (#82556)"" (#82600)
This reverts commit ab8e5e6fb5135689734c34a3aa5e64721a738969.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/82600
Approved by: https://github.com/janeyx99