[PyTorch][easy] Coalesce string literals in data_ptr error message (#52379)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/52379
There's no reason to create and concatenate multiple string literals here when we could just combine them.
ghstack-source-id: 121890478
Test Plan: builds
Reviewed By: ilia-cher
Differential Revision: D26492399
fbshipit-source-id: a9e611a5b7ce5c1255135f3a0db12cc765b29a87