"PhysicsControlVisualizer" Error in Rider with UE 5.2

I’ve started using UE 5.2.1 for my C++ projects, and typically Rider is my IDE. However, I’ve been getting an error in PhysicsControlVisualizer.Build.cs that I don’t understand at all.

The error doesn’t appear in Visual Studio, nor does it appear in Rider for UE 5.1 projects. I always keep my Rider installation up-to-date. Has anyone else encountered this with UE 5.2?